Hallo zusammen,
ich habe heute versucht SV2.8 auf meinem Raspberry Pi zu installieren. Da ich apache schon auf dem Pi laufen habe, wollte ich SV auch darauf lassen.
Wenn ich sv aufrufe sieht es wie folgt aus: (siehe Anhang)
Meine Apache Einstellungen sind:
<Directory /var/www/sv>
Options All
AllowOverride AuthConfig FileInfo
Require all granted
</Directory>
Listen 8080
<VirtualHost *:8080>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
ServerName SmartVisu.local
ServerAdmin webmaster@localhost
DocumentRoot /var/www/sv/
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
Include conf-available/serve-cgi-bin.conf
</VirtualHost>
Ich habe heute den ganzen Tag versucht zu finde. Leider bin ich mit meinem Latein am Ende.
Ich hoffe es kann mir einer helfen..
Was sagt das error.log von apache?
Hier ist die Log Datei. Ich habe die Log-Settings auf Debug geändert.
EDIT:
Errorlog war zu lang. Deswegen hier: http://pastebin.com/1sQDMCTd (http://pastebin.com/1sQDMCTd)
Standardmäßig ist beim Raspberry Pi der Ordner für die Icons auf den Pfad /usr/share/apache2/icons festgelegt!
Das ist bei dir laut Log auch der Fall.
Die Lösung ist es in der Datei /etc/apache2/mods-available/alias.conf folgende Zeilen auszukommentieren:
#Alias /icons/ "/usr/share/apache2/icons/"
#<Directory "/usr/share/apache2/icons">
# Options FollowSymlinks
# AllowOverride None
# Require all granted
#</Directory>
Nach einem Neustart von Apache sollte es dann gehen.
Super. Vielen Dank! Jetzt klappt alles :)
Ich wäre da nie drauf gekommen.
DANKE!!
das hat mir auch sehr geholfen!
LG
KOAL
Zitat von: raman am 06 März 2017, 11:56:24
Standardmäßig ist beim Raspberry Pi der Ordner für die Icons auf den Pfad /usr/share/apache2/icons festgelegt!
Das ist bei dir laut Log auch der Fall.
Die Lösung ist es in der Datei /etc/apache2/mods-available/alias.conf folgende Zeilen auszukommentieren:
#Alias /icons/ "/usr/share/apache2/icons/"
#<Directory "/usr/share/apache2/icons">
# Options FollowSymlinks
# AllowOverride None
# Require all granted
#</Directory>
Nach einem Neustart von Apache sollte es dann gehen.