onkel-tobi
22.12.15, 15:19
Hi,
bin dabei meinen webserver umzuziehen und habe einen apache 2.4.7 auf ubuntu 14.04 laufen.
Ich bekomme allerdings bei Aufruf einer Seite die Meldung: "You don't have permission to access"
Apache.conf Auszug:
<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory /usr/share>
AllowOverride None
Require all granted
</Directory>
<Directory /var/www>
Options Indexes FollowSymLinks
AllowOverride all
Require all granted
</Directory>
vhost Auszug:
<VirtualHost *:80>
ServerName bla.domain.com
ServerAlias bla.domain.com
DocumentRoot /var/www/blog
<Directory /var/www/blog>
Options FollowSymLinks
AllowOverride All
Require all granted
#Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Habt ihr noch eine Idee? Hatte das mit dem require all granted noch in Erinnerung, aber sollte in 2.4.7 ja gehen. Die config vorher lief ebenfalls auf einem 2.4er Apache (alles sauber).
Gruß,
Tobi
bin dabei meinen webserver umzuziehen und habe einen apache 2.4.7 auf ubuntu 14.04 laufen.
Ich bekomme allerdings bei Aufruf einer Seite die Meldung: "You don't have permission to access"
Apache.conf Auszug:
<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory /usr/share>
AllowOverride None
Require all granted
</Directory>
<Directory /var/www>
Options Indexes FollowSymLinks
AllowOverride all
Require all granted
</Directory>
vhost Auszug:
<VirtualHost *:80>
ServerName bla.domain.com
ServerAlias bla.domain.com
DocumentRoot /var/www/blog
<Directory /var/www/blog>
Options FollowSymLinks
AllowOverride All
Require all granted
#Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Habt ihr noch eine Idee? Hatte das mit dem require all granted noch in Erinnerung, aber sollte in 2.4.7 ja gehen. Die config vorher lief ebenfalls auf einem 2.4er Apache (alles sauber).
Gruß,
Tobi