httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel-St├ęphane SMORGRAV <Axel-Stephane.SMORG...@europe.adp.com>
Subject RE: [users@httpd] Re: problem with mod_rewrite rewiterule with [P](internal proxying)
Date Fri, 07 Jul 2006 08:24:00 GMT
 The rewrite logs included in the original post indicate that the proxying does work, so that
cannot possibly be the problem.

-ascs


-----Original Message-----
From: Joost de Heer [mailto:sanguis@xs4all.nl] 
Sent: Friday, July 07, 2006 9:55 AM
To: Ravish Agarwal
Cc: users@httpd.apache.org
Subject: [users@httpd] Re: problem with mod_rewrite rewiterule with [P](internal proxying)

>From the manual page:

"'proxy|P' (force proxy)
This flag forces the substitution part to be internally sent as a proxy request and immediately
(rewrite processing stops here) put through the proxy module. You must make sure that the
substitution string is a valid URI (typically starting with http://hostname) which can be
handled by the Apache proxy module. If not, you will get an error from the proxy module.
Use this flag to achieve a more powerful implementation of the ProxyPass directive, to map
remote content into the namespace of the local server.

Note: mod_proxy must be enabled in order to use this flag."

Besides mod_proxy, you need the protocol specific submodules too. If you're reverse proxying
to http, add mod_proxy_http, if you're proxying to https, load mod_ssl and enable ssl proxying
(SSLProxyEngine on) (and for 2.2, if you're proxying to ajp, you need mod_proxy_ajp)

Joost


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message