ganesch
30.08.05, 16:06
Hallo zusammen,
ich möchte gerne userdir mit Apache2 nutzen, bekomme aber dummerweise einen
Forbidden
You don't have permission to access /~newdomain.com/ on this server
Fehler.
Meine userdir.conf sieht so aus:
NameVirtualHost xx.xxx.xxx.xx
<VirtualHost users.mydomain.com>
ServerName users.mydomain.com
DocumentRoot /var/www/vhcs2/gui
<Directory /var/www/vhcs2/gui>
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule mod_userdir.c>
UserDir /var/www/virtual/*/htdocs
UserDir disabled root
<Directory /var/www/virtual/*/htdocs>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
</Directory>
</IfModule>
</VirtualHost>
In meinem apache error.log steht
Symbolic link not allowed: /var/www/virtual/newdomain.com/htdocs/index.php
Muss ich hier mit open_basedir arbeiten oder welche Möglichkeiten gibt es, um den symbolischen Link zu erlauben?
Schöne Grüsse
Nick
ich möchte gerne userdir mit Apache2 nutzen, bekomme aber dummerweise einen
Forbidden
You don't have permission to access /~newdomain.com/ on this server
Fehler.
Meine userdir.conf sieht so aus:
NameVirtualHost xx.xxx.xxx.xx
<VirtualHost users.mydomain.com>
ServerName users.mydomain.com
DocumentRoot /var/www/vhcs2/gui
<Directory /var/www/vhcs2/gui>
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule mod_userdir.c>
UserDir /var/www/virtual/*/htdocs
UserDir disabled root
<Directory /var/www/virtual/*/htdocs>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
</Directory>
</IfModule>
</VirtualHost>
In meinem apache error.log steht
Symbolic link not allowed: /var/www/virtual/newdomain.com/htdocs/index.php
Muss ich hier mit open_basedir arbeiten oder welche Möglichkeiten gibt es, um den symbolischen Link zu erlauben?
Schöne Grüsse
Nick