This might be a little off-topic, but perhaps someone has
dealt with this here.  I'm still trying to get the new
proxified apache mod_perl set up to work.

First, since I have perl scripts in various places, I changed
this:
<IfDefine PERLPROXIED>
  ProxyPass              /perl/ http://127.0.0.1:8200/
  ProxyPassReverse       /perl/ http://127.0.0.1:8200/
</IfDefine>

to this:
<IfDefine PERLPROXIED>
Rewrite on
RewriteRule ^(.*\.pl)$  http://127.0.0.1:8200/$1 [P]
ProxyPassReverse       /perl/ http://127.0.0.1:8200/
</IfDefine>

I haven't tried that out, but I assume it would work fine for serving
a single domain, but I have several name-based virtual hosts.  With the
configuration above, the proxy server wouldn't know which virtual host
was supposed to be responding.  I started doing some more complicated
rewrite rules that would call the proxy server with the name of the
virtual server, but I wasn't sure if I was on the right track with
that.

If anyone's done this kind of thing, I'd greatly appreciate finding
out how you did it.

Thsnks.
-- 

------------------------------------------------------------------
smalltime industries  brings you the latest in games, information,
art, and interplanetary transport.  Visit us at www.smalltime.com
------------------------------------------------------------------

Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to