You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Forrest Aldrich <fo...@forrie.com> on 2005/08/24 22:10:36 UTC

[users@httpd] Symbolic links under Apache 2.0.54

I recently ran into this problem:

    http://issues.apache.org/bugzilla/show_bug.cgi?id=28515

The bug report is from 2004... but it still appears to exist.

To test this, I did:

    <Directory "/path/to/files">
        Options FollowSymlinks Indexes
        AllowOverride AuthConfig
    </Directory>

In /usr/local/www/data:

    ln -s /path/to/files .

And I go to the browser:

    http://mysite.com/files


which generates this error:

    You don't have permission to access /mp3 on this server.

    Additionally, a 403 Forbidden error was encountered while trying to
    use an ErrorDocument to handle the request.

I also tried tweaking SymlinksIfOwnerMatch, etc.  I verified that the 
permissions are okay (as far as I can tell).

Note the ErrorDocument problem - I've not even changed any of those and 
I have no ErrorDocument directives in my configuration.


Thanks,

Forrest