Forum Moderators: phranque
If I enter users.mydomain.com/~newdomain.com into my browser I get a
Forbidden
You don't have permission to access /~newdomain.com/ on this server.
error.
The log file says
Quote:
Symbolic link not allowed:
/var/www/virtual/newdomain.com/htdocs/index.php
I played around with the open_basedir directive a little bit, but could not solve the problem.
Any help would be very well appreciated.
Cheers,
Nick
P.S. My userdir.conf looks like this
NameVirtualHost xx.#*$!.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>
Welcome to WebmasterWorld.
Not my forte, but I believe you need AllowOverride FileInfo
<VirtualHost users.mydomain.com>
ServerName users.mydomain.com
DocumentRoot /var/www/vhcs2/gui
<Directory /var/www/vhcs2/gui>
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride FileInfo
Order allow,deny
Allow from all
</Directory>
<IfModule mod_userdir.c>
Justin
Added: You may also need to define the index page/type
DirectoryIndex index.htm index.html