Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

patently disobeying, reversed world: symlinks refused in cgi-bin, symlinks followed in DocumentRoot

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


hansen at ibe

Aug 10, 2012, 7:27 AM

Post #1 of 1 (96 views)
Permalink
patently disobeying, reversed world: symlinks refused in cgi-bin, symlinks followed in DocumentRoot

Hi,

can somebody help me?:

no matter what I try, Apache refuses to access a directory symlink in
its default cgi-bin: /usr/lib/cgi-bin/symlink/

- everything up to including symlink is world r_x
- everything up to including everything accessed beyond the resolved
symlink is world r_x
- FollowSymLinks is enabled for /usr/lib/cgi-bin in every Apache
configuration (httpd.conf, sites-enabled/000-default)
- SymLinksIfOwnerMatch is disabled for /usr/lib/cgi-bin in every Apache
configuration (httpd.conf, sites-enabled/000-default)

The Browser prints error 403, the log shows: "Symbolic link not allowed
or link target not accessible: /usr/lib/cgi-bin/symlink".
I checked sudo -u www-data cd symlink : it works.


No matter what I set, Apache follows file symlinks in its DocumentRoot,
localhost/sym.link gets delivered to the browser

- FollowSymLinks is disabled in every Apache configuration
(httpd.conf, sites-enabled/000-default)


I did restart Apache each time.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.