But my problem is that if I remove [P] tag then every thing works fine. so do I need to have compile version of mod_proxy.c as the manual page for apache 1.3 says but its not there at apache 2.0 manual page. I am using apache 2.0.55 Output of httpd -l shows the following $ ./httpd -l Compiled in modules: core.c worker.c http_core.c mod_so.c I have the mod_proxy_http enabled too. So what could be the poblem? On 7/7/06, Axel-Stéphane SMORGRAV <Axel-Stephane.SMORGRAV@xxxxxxxxxxxxxx> wrote:
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@xxxxxxxxx] Sent: Friday, July 07, 2006 9:55 AM To: Ravish Agarwal Cc: users@xxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
-- Thank and Regards Ravish Agarwal --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx