httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "karim Bendadda" <kakib...@gmail.com>
Subject Re: ap_internal_redirect
Date Tue, 18 Mar 2008 14:46:24 GMT
Hi,

  Try using the *mod_proxy* to do this . Something like that:

 On your module:   *ap_internal_redirect("/Test",The request);*

 And on your configuration file: *ProxyPass  /Test  @ExternalServer*

 that redirects your internal request to an external server...

On Tue, Mar 18, 2008 at 3:36 PM, Pitchaimani Muthuveeran <
pmani@msys-tech.com> wrote:

> Hi Nick,
>
> I just want to redirect an internal request to an external server by
> replacing the incoming host-name to the real external server host name.
>
> I do also want to process the response via the chain ....
> DEFLATE->MY_FILTER--->INFLATE.
>
> Since mod_deflate skips the filter process after identifying that the
> request is not main request. This stops me in processing the response from
> MY_FILTER.
>
> Thanks,
> Mani
>
> ----- Original Message -----
> From: "Nick Kew" <nick@webthing.com>
> To: <modules-dev@httpd.apache.org>
> Sent: Tuesday, March 18, 2008 7:50 PM
> Subject: Re: ap_internal_redirect
>
>
> > On Tue, 18 Mar 2008 19:45:06 +0530
> > "Pitchaimani Muthuveeran" <pmani@msys-tech.com> wrote:
> >
> >> How could i redirect the request and mark it as initial request?
> >
> > You don't.  But if you tell us why you think you want to,
> > then maybe an alternative will present itself.
> >
> > --
> > Nick Kew
> >
> > Application Development with Apache - the Apache Modules Book
> > http://www.apachetutor.org/
> >
>
>


-- 
Karim

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message