You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Paul Redondo <pa...@matchvision.com> on 2000/11/08 15:28:21 UTC

config/6817: the include directive wont work if the target file is specified using an absolute path

>Number:         6817
>Category:       config
>Synopsis:       the include directive wont work if the target file is specified using an absolute path
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Nov 08 06:30:04 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     paul@matchvision.com
>Release:        1.3.41
>Organization:
apache
>Environment:
NT/2000
>Description:
In the main config file (httpd.conf), if you specify an absolute path in an include directive (such as: include "C:\Program Files\MyCGI\conf\myhttpd.conf"), apache will prefix this absolute path with its base directory, before trying to open the file. Thus, the resulting path is invalid. And apache wont start at all.
>How-To-Repeat:
In the httpd.conf file, add a line such as 'include "C:\XXX\myhttpd.conf"', and launch the test command line 'apache -t'.  
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]