On Monday 26 September 2005 03:37, Sarath PS wrote:
> Is there any way to forward a request, instead of include (as with
> ns_adp_include ) ?
>

To change the url, without an external redirect, you can use the nsrewrite 
module.

I've written it up here: <http://rmadilo.com/files/nsrewrite/>

The browser stays at the requested url, but the page served is (potentially) 
from a different url, under the same pageroot as the virtual server. It is 
important to remember that the URL is just a string used to match against a 
list of filters and registered procedures. If you change this string, which 
filters match might also change. The request is handled the same after the 
change except, of course, the filters and procedures which have already run 
will not run again. Any filters or registered procedures remaining in the 
list will be matched against the new url.

<http://rmadilo.com/files/nsrewrite/doc/nsrewriteurl.html> explains the 
process. I'm not sure how or if this differs from a forward, because if you 
really want to start all over again, you have to do an external redirect, 
which might be difficult with a POST.

tom jackson


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to