DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8261>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8261 CustomLog within Directory*, Location* and Files* containers Summary: CustomLog within Directory*, Location* and Files* containers Product: Apache httpd-1.3 Version: 1.3.24 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Enhancement Priority: Other Component: mod_log_config AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] the Customlog directive is not allowed within the Directory*, Location* and Files* containers (only in global and vhost) Though it is possible to get a similar result using environment variables and conditional logging it would be easier if Customlog was simply allowed within these containers. (And I can't see any reason why it is not) Though I guess this applies to all systems and platforms I only added W2k/PC since this is where I am testing. As far as I can judge from the documentation it applies to Apache 2 as well. Steps to Reproduce: Add a valid CustomLog directive inside a <Directory>, <Location> or <Files> container in your configuration file. Restart Apache. Actual Results: Apache refuses to start and put the following message to stdout: "Syntax error on line xxx of c:/program files/apache/conf/httpd.conf: CustomLog not allowed here" Expected Results: Apache should start up as normal and log all requests to the directories/locations/files into the appropriate log file specified by CustomLog.
