dariusf - 6:29 pm on Oct 24, 2013 (gmt 0)
Hi, I'm new to mod_rewrite and I need to setup a proxy on my clients server.
What we need is to inspect the requested URL and proxy the request to outside server. The returned content should appear to the browser as coming from our domain.
The URL calls are dynamic and we don't to control the full URL only the domain and the first directory in the request. The rest will be dynamic.
needs to proxy to:
I need to catch and proxy any request that starts with this URL: https://www.mysite.com/videothumb/ while maintaining the rest of the path/file/params.
I tried to add this to the httpd-vhosts.conf at the end of the <VirtualHost> section with no luck
RewriteRule ^videothumb/(.*)$ http://www.othercomp.com/$1 [P]
Any ideas how to accomplish this?
Thank you for your help