httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: Need to divert the request
Date Thu, 27 Sep 2007 13:45:36 GMT
On Thu, 27 Sep 2007 18:41:33 +0530
prasanna <prasana@msys-tech.com> wrote:

> Hi,
> 
> I have involved in developing a module which needs to divert the 
> incoming request to almost a new URL. I have changed the uri info in
> the request_rec, but it seems, changes in request_rec doesn't affect
> the request processing.

You appear to want the ap_internal_redirect API.  There are plenty
of examples in the standard source: from mod_alias and mod_rewrite
through mod_dir and mod_negotiation to mod_cgi & friends.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

Mime
View raw message