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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to