Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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


apache, chroot, debian

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using mod_spdy With Apache2 On Debian Squeeze probs Ovidiu HOWTO-Related Questions 3 11th July 2012 19:19
Installation just stops, and dies. cosmicsafari Installation/Configuration 3 19th July 2011 11:24
[debian 5 + ispconfig 3] Unable to send mail tanakskool HOWTO-Related Questions 6 4th November 2009 19:20
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 01:57
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 15:42

All times are GMT +2. The time now is 01:46.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.