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=39369>. 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=39369 Summary: timefmt config not working in SSI when using INCLUDES output filter and XBitHack On Product: Apache httpd-2 Version: 2.0.54 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: mod_include AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] Using the following setup: in apache2.conf, default setting for handling shtml files): <FilesMatch "\.shtml(\..+)?$"> SetOutputFilter INCLUDES </FilesMatch> in Directory directive: <Directory /var/www/test> Options +Includes XBitHack On </Directory> following SSI code on a webpage: cat /var/www/test/foo.shtml <!--#config timefmt="%Y" --> Today is <!--#echo var="DATE_LOCAL" --> Web page is called .shtml and is executable: chmod +x /var/www/test/foo.shtml Output of this command is: Today is Thursday, 20-Apr-2006 12:34:11 PDT instead of correct Today is 2006 Thus, SSI statements are parsed but timefmt is ignored. Potential workarounds: - Remove XBitHack On - Replace shtml handling in apache2.conf with AddHandler server-parsed .shtml - Remove executable flag on web page - Rename web page to .html Note: The settings depend on the name of file containing the timefmt statement but the x bit of the file referenced in the URI. Example: User goes to http://localhost/test/foo2.html foo2.html has x bit set foo2.html contains: <!--#include virtual="foo.shtml" --> foo.shtml contains above example code but does NOT have the x bit set Problem still appears Note: Found one reference to the same or similar problem here: http://www.columbia.edu/acis/dev/unixdev/doc/www2-transition-issues.shtml#config -- 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]
