You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/04/20 11:46:36 UTC
DO NOT REPLY [Bug 28492] New: -
Apache does not like symbolic links pointing to directories in "Include" statements
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28492>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28492
Apache does not like symbolic links pointing to directories in "Include" statements
Summary: Apache does not like symbolic links pointing to
directories in "Include" statements
Product: Apache httpd-2.0
Version: 2.0.48
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Core
AssignedTo: bugs@httpd.apache.org
ReportedBy: hps@intermeta.de
When including a directory of configuration files, the reference must not contain
a symbolic link. I e.g. have the following case:
/mnt/disk0/www.server1/<lots of virtual servers>.conf
/mnt/disk0/www.server2/<lots of virtual servers>.conf
/virtual/www.server1 --- symbolic link --> /mnt/disk0/www.server1/
/virtual/www.server2 --- symbolic link --> /mnt/disk0/www.server2/
If I put
Include /mnt/disk0/www.server1/*.conf
into httpd.conf, it works. If I put
Include /virtual/www.server1/*.conf
into httpd.conf, it works not. In the strace of the httpd process, it is visible
that apache tests, whether the /virtual/www.server1 reference is a directory but
gets an error and halts.
Apache should test, whether an include reference is a symbolic link and if yes,
test its target to be a directory.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org