RewriteRule Proxy not working

Come here to ask for and share help and specific how-tos related to the 5gbfree.com hosting service.
Post Reply
pattedar
Posts: 1
Joined: Mon Oct 10, 2016 1:33 am

RewriteRule Proxy not working

Post by pattedar » Tue Nov 01, 2016 6:19 am

**

## RewriteRule Proxy not working

.**

I am trying to implement Reverse Proxy
I want my web-hosting server to support [P] Proxy flag

As, My client device not able to handle HTTP re-direct requests.

syntax:
RewriteRule pattern target [Flag1,Flag2,Flag3]

RewriteRule pattern target [R] <----------- not working


Is mod_proxy enabled here ?


Example:
RewriteEngine on
RewriteBase "/products/"
RewriteRule "^widget/(.*)$" "http://product.example.com/widget/$1" [P]
ProxyPassReverse "/products/widget/" "http://product.example.com/widget/"

Let me know

Post Reply