Apache: client denied by server configuration

.htaccess, apache

Solution

OK I am using the wrong syntax, I should be using

Allow from 127.0.0.1
Allow from ::1
...

Problem

I am getting [Tue Apr 24 12:12:55 2012] [error] [client 127.0.0.1] client denied by server configuration: /labs/Projects/Nebula/bin/ My directory structure looks like (I am using Symfony 2, should be similar structure for other web frameworks) I have vhosts setup like: ``` <VirtualHost nebula:80> DocumentRoot "/labs/Projects/Nebula/web/" ServerName nebula ErrorLog "/var/log/httpd/nebula-errors.log" </VirtualHost> <Directory "/labs/Projects/Nebula/"> Options All AllowOverride All Order allow,deny Allow from 127.0.0 192.168.1 ::1 localhost </Directory> ``` I wonder whats the problem and how do I fix it?

Original source