httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Canfield <>
Subject Re: [users@httpd] localhost Forbidden
Date Sun, 04 May 2014 13:48:16 GMT
I am not sure what you mean by "Then your document root has a stanza
that allows access to everyone."

I removed the disabling comment marks in /etc/apache2/apache2.conf =
<Directory />
        Options FollowSymLinks
        AllowOverride None
        Require all denied

Then I have this as /etc/apache2/sites-enabled/default =
<VirtualHost *:80>
    DocumentRoot /www/default/Site
    <Directory /www/default/Site>
        AuthType None
        Require all granted
        Options FollowSymLinks
        AllowOverride None
        Order allow,deny
        allow from all

The result is a 403:Forbidden error. The same error comes up if the
'Directory' line reads
    <Directory />
(I am never quite sure whether the Directory name is disk-absolute or

What am I missing?

On 05/04/2014 07:31 PM, Eric Covener wrote:
> On Sun, May 4, 2014 at 4:42 AM, Andy Canfield <> wrote:
>> This was NOT present under Apache 2.2. Since this file is read before
> That's usually present in every default configuration. Then your
> document root has a stanza that allows access to everyone.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message