Setting up and starting apache 2.2 went smoothly. The first hiccup occured when a virtual host was added. The site cannot be browsed. The log file says:
Kind of like the problem that I ran into with the 2.0.54 installation
I thought it would be a user/group problem. Apache 2 had a wierd group set by default (#-1). With 2.2 it’s not so wierd but a more orthodox ‘daemon’. Why it wasn’t set to nobody as it used to be with 1.3 is a mystery. Changing it to nobody didn’t solve the problem.
Digging deeper, I found the problem in is actually in the root directory configuration section. In 2.0 it’s
Options FollowSymLinks
AllowOverride None
</Directory>
In 2.20 it’s
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
The added bit of extra security in 2.20 causes the docroot for the vhost to be inaccessible. Just commenting out the access configuration stuff does the trick. A better solution is to add the following with the in the vhost block.
Deny from all



Thanks!
I was looking for a solution for weeks…
Manuel
Ditto! It was right there in front of me the whole time. Thanks for pointing it out!
Thank You for this tip
Great stuff, man. Always nice to see the work of a peer. You should add buttons to the bottom of your posts to digg, stumble, etc your content.-Tom
you can do that with the share this button
hi ,
i am trying to restrict my website to domain i have written below code in access.conf of apache…
Order deny,allow
Deny from all
Allow from ipmcghana.com
but i am getting error in error log file ,
client denied by server configuration: /forms/frmservlet
what can be the problem
please guide me ….
thank you