You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/07/23 16:29:19 UTC

DO NOT REPLY [Bug 21814] - mod_include (include virtual) does interoperate with mod_rewrite

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=21814>.
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=21814

mod_include (include virtual) does interoperate with mod_rewrite

Robert.Siemer@gmx.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|mod_include                 |mod_rewrite
         OS/Version|Linux                       |All
           Platform|PC                          |All



------- Additional Comments From Robert.Siemer@gmx.de  2003-07-23 14:29 -------
The problem lies in mod_rewrite.c:

static int hook_fixup(request_rec *r)
{
   [...]
    /* we shouldn't do anything in subrequests */
    if (r->main != NULL) {
        return DECLINED;
    }

This behaviour is undocumented for mod_rewrite. It practically disables
Rewrite-.htaccess-processing in all subrequest as noticed in SSIs "include
virtual"...

What is this good for??

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org