Internal proxy throughput (mirror) won't work - plz help

Discuss practical ways rearrange URLs using mod_rewrite.

Postby Guest » Mon Jun 24, 2002 8:28 am

Hi,

I'm trying to do this:

RewriteEngine on
RewriteBase /test
RewriteRule ^(.*)$ http://www.otherserver.com/mydir/$1 [R]

and it will work but this won't:

RewriteEngine on
RewriteBase /test
RewriteRule ^(.*)$ http://www.otherserver.org/mydir/$1 [P]


????

Thank you.
Guest
 

Postby Brett » Mon Aug 05, 2002 11:52 am

The [P] flag will not work unless your Apache server was compiled with the proxy module.
Brett
 
Posts: 82
Joined: Tue Jul 10, 2001 4:00 pm
Location: yohost.com


Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 25 guests

cron