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=40785>. 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=40785 Summary: Configuration order merging fault for directories Product: Apache httpd-2 Version: 2.0.52 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Runtime Config AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] I am working on a C module for Apache 2.0. It uses the AP_MODULE_DECLARE_DATA structure to define merging routines, and the command_rec structure for defining option setting routines. The problem is this: I have two web directories: /var/www/html/parent /var/www/html/parent/child In each is a .htaccess file. The .htaccess file in /var/www/html/parent is: MyParam Off <Files ~ "\.pl$"> SetHandler cgi-script Options +ExecCGI MyParam On </Files> The .htaccess file in /var/www/html/parent/child is: MyParam Off <Files ~ "\.pl$"> SetHandler cgi-script Options +ExecCGI </Files> When I go to access http://127.0.0.1/parent/child/mypage.pl the order of operations is: - set MyParam to Off (presume parent .htaccess) - set MyParam to On (presume parent .htaccess <Files>) - set MyParam to Off (presume child .htaccess) - dir_merge (child .htaccess and parent .htaccess) - dir_merge (default and merged) - dir_merge (parent .htaccess <Files> and merged) The order of setting the parameters appears correct. But the order of calling the merge function for the directory configuration appears very screwy indeed. The parent .htaccess <Files> section should not be overriding the child .htaccess file. Hence this is a bug. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
