View Single Post
Old 14th March 2013, 23:17
SaintGermain SaintGermain is offline
Junior Member
Join Date: Mar 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chrooting Apache2 With mod_chroot On Debian Squeeze


I am becoming crazy with this problem.
I am trying to setup Apache 2.2.16 in a chroot with Debian Squeeze.

I followed the howto step by step using the symlink methods and then I couldn't access my website because of this error:
Symbolic link not allowed or link target not accessible: /var/www
So I tried removing the symlink and directly put the directory in /var/www/var/www.
I then got an error:
client denied by server configuration: /var
I checked that permissions for /var/www/var/www are OK.
I am accessing my website through the following url http://localhost/toto

Here is my httpd.conf (I don't use VirtualHost):
Alias /toto /var/www/toto
<Directory /var/www/toto>
Options All
AllowOverride All
order allow,deny
allow from all
<Directory />
Order allow,deny
Options All
Allow from all
AllowOverride All
Can someone please help understand this problem ?

Thanks !
Reply With Quote
Sponsored Links