[CLUE-Tech] Apache: "Forbidden. You don't have permission to access / on this server"

Eric Kilfoil ekilfoil at viawest.net
Thu Dec 27 10:05:35 MST 2001


I'm assuming that you've figured this out by now, but I wanted to give you
a little piece of advice.  With name-based virtual hosting it is sometimes
handy to add %v to your combined logformat directive.  This will show you
which virtual host is handling the particular request.

Also, it's worth noting that a peek in the error_log will give a more
informative answer on permission problems.

eric

On Wed, 19 Dec 2001 jason at matchingmoms.com wrote:

> I'm trying to set up virtual hosting with Apache.  Whichever of my virtual
> hosts I attempt to reach, I receive this error:
>
> "Forbidden.  You don't have permission to access / on this server."
>
> 	Here's a log entry:
>
> 	192.168.0.200 - - [15/Dec/2001:05:54:12 +0000] "GET / HTTP/1.1" 403 287
>

<snip>

> 	ErrorLog /var/log/httpd/error_log
> 	LogLevel debug
> 	LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
> 	combined
> 	LogFormat "%h %l %u %t \"%r\" %>s %b" common
> 	LogFormat "%{Referer}i -> %U" referer
> 	LogFormat "%{User-agent}i" agent
> 	CustomLog /var/log/httpd/access_log combined
<snip>





More information about the clue-tech mailing list