[Zope] mod_proxy static or dynamic?

Jason Wertz JWERTZ@dccc.edu
Wed, 02 Jul 2003 18:04:51 -0400


I'm trying to get my rewrite rules up and working and all is well if I
just use the L or R options at the end of the rewrite such as...

RewriteRule ^/(.*) http://www.mysite.edu:8080/VirtualHostBase/http/www.mysi=
te.edu:80/VirtualHostRoot/$1 [R]
RewriteRule ^/(.*) http://www.mysite.edu:8080/VirtualHostBase/http/www.mysi=
te.edu:80/VirtualHostRoot/$1 [L]

But since I want to proxy to hide the long VHM url I want to use the P
option. Only problem is, this doesn't seem to work. I'm using Redhat 7.2
with Apache 1.3.27 with mod_proxy compiled as a module. Here's the full
line that's not working.

RewriteRule ^/(.*) http://www.mysite.edu:8080/VirtualHostBase/http/www.mysi=
te.edu:80/VirtualHostRoot/$1 [L,P]

The mod_proxy page says you need to have it compiled in statically to
the server to work with rewrite rules, is this true...anybody ever have =
this same trouble?=20

Thanks

Jason Wertz
Senior Technology Specialist / WebMaster
Delaware County Community College
ph: 610-325-2771
fax: 610-325-2820
http://learn.dccc.edu/~jason