https://issues.apache.org/bugzilla/show_bug.cgi?id=50354
--- Comment #4 from Igor Galić <[email protected]> 2010-11-28 18:30:28 EST --- That is, because I forgot AcceptPathInfo On Now all files deliver nothing.. Great. BUT. If we do something like: <Directory /home/i.galic/Projects/bomb.ground> Options +MultiViews IncludesNoExec Require all granted AddOutputFilter Includes shtml DirectoryIndex index.php ModMimeUsePathInfo On </Directory> FallBackResource /index.php Everything works as expected -- even better so: The request for http://bomb.ground/foo/bar/baz.shtml will be "rewritten" (with FallbackResource) to /index.php which produces SSI, which is interpreted by httpd. Proposed patch: Index: mod/mod_mime.xml =================================================================== --- mod/mod_mime.xml (revision 1039792) +++ mod/mod_mime.xml (working copy) @@ -693,13 +693,12 @@ ModMimeUsePathInfo On </example> - <p>If you have a request for <code>/bar/foo.shtml</code> where - <code>/bar</code> is a Location and <directive - >ModMimeUsePathInfo</directive> is <code>On</code>, - <module>mod_mime</module> will treat the incoming request as - <code>/bar/foo.shtml</code> and directives like <code>AddOutputFilter - INCLUDES .shtml</code> will add the <code>INCLUDES</code> filter to the - request. If <directive>ModMimeUsePathInfo</directive> is not set, the + <p>If you have a request for <code>/index.php/foo.shtml</code> where + <code>/index.php</code> <module>mod_mime</module> will now treat the + incoming request as <code>/index.php/foo.shtml</code> and directives + like <code>AddOutputFilter INCLUDES .shtml</code> will add the + <code>INCLUDES</code> filter to the request. If <directive + >ModMimeUsePathInfo</directive> is not set, the <code>INCLUDES</code> filter will not be added.</p> </usage> <seealso><directive module="core">AcceptPathInfo</directive></seealso> -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
