httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo>
Subject Re: cvs commit: httpd-2.0/modules/http http_request.c
Date Fri, 16 May 2003 15:22:35 GMT
* Jeff Trawick wrote:

> William A. Rowe, Jr. wrote:
>> Consider a redirect from an .shtml document that had the INCLUDES
>> filter inserted, over to an .html document.  It seems this patch leaves
>> the INCLUDES filter on a document that the admin did not configure
>> for SSI.
> I spent some time yesterday on some testcases for this and related
> issues, so I'm motivated to add another one if we can agree on what you
> mean.
> But I'm stuck on the first sentence:
> "redirect from an .shtml document that had the INCLUDES filter inserted"
> How does the redirect happen?  I know how to redirect a subrequest
> invoked by the .shtml document, but I don't know how to redirect the
> .shtml document itself unless you mean with a config directive that
> takes effect before the .shtml document starts getting parsed.

mod_rewrite in directory context should do. The redirect will be issued by
mod_rewrite's redirect-handler (i.e. after insert_filter and type_checker)

(untested ;-)

tvc!ifmm)%*|#Qfsm!A`#~tvc!jt)%*|(Ibdlfs(~  # What the hell is JAPH? ;
@_=split/\s\s+#/;$_=(join''=>map{chr(ord(  #             André Malo ;
$_)-1)}split//=>$_[0]).$_[1];s s.*s$_see;  # ;

View raw message