Forum Moderators: phranque

Message Too Old, No Replies

.htaccess

proxy redirects

         

Stuperfied

2:47 am on Apr 24, 2005 (gmt 0)

10+ Year Member



Hi,

I was wondering if anyone knows if its possible to put a:


ProxyPass /foo/ http://internal.example.com/bar/
ProxyPassReverse /foo/ http://internal.example.com/bar/

within a .htaccess file?

jdMorgan

3:01 am on Apr 24, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



From the mod_proxy documentation [httpd.apache.org]:

Context: server config, virtual host

ProxyPass and ProxyPassReverse are available only in the server config and virtual host contexts.

Jim

Stuperfied

4:19 am on Apr 24, 2005 (gmt 0)

10+ Year Member



Thanks,.
Hmm...Pitty though. I got IPB installed on our hosts server but dont have the space for the images. Was hoping to proxy pass it so that requests for /uploads/ would be served from our server instead but seem as if they were on our hosts server.

Will ask our host if they can add that to the domains virtualhost but since its sunday here i'll have to wait till tomorrow.