View Single Post
  #1  
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

Hello,

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:
Quote:
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:
Quote:
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):
Quote:
Alias /toto /var/www/toto
<Directory /var/www/toto>
Options All
AllowOverride All
order allow,deny
allow from all
</Directory>
<Directory />
Order allow,deny
Options All
Allow from all
AllowOverride All
</Directory>
Can someone please help understand this problem ?

Thanks !
Reply With Quote
Sponsored Links