Forum Moderators: phranque
I wonder how to change default virtual server directory?
System as of today:
SUSE 9.3
Apache 2.0
everything installed by default.
When putting a web-page into the default "htdocs" directory everything is ok.
I need to set up couple of virtual servers which should be placed elsewhere (say /home/users/user1, etc) insted of the default "htdocs".
When setting the virtual server up and starting apache everything is fine, but when I trying access the web-page I get following error:
"Access forbiden.
You do not have permission to access the requested directory"
I checked the permissions which was ok. In order just to test it I did chmod 777 without advancing any further.
Anybody got a clue of what else should I check and change?
Thanx in advance.
Access log
[Sat Jun 04 19:11:47 2005] [error] [client xx.xx.xxx.xx] client denied by server
[Sat Jun 04 19:11:47 2005] [error] [client xx.xx.xxx.xx] client denied by server
[Sat Jun 04 19:11:47 2005] [error] [client xx.xx.xxx.xx] no acceptable variant:
Just in case virtual server config:
<VirtualHost 172.16.1.9>
DocumentRoot /home/users/user1/html
ServerName test.test.org
ServerAlias alias.test.net
ServerAdmin xxxx@test.org
ScriptAlias /cgi-bin/ "/home/users/user1/cgi-bin/"
#ErrorDocument 403 [test.org...]
ErrorLog /home/users/user1/log/user1-error.log
TransferLog /home/users/user1/log/user1-access.log
</VirtualHost>