RE: Not a Dev question .. but can someone help me

"Lancashire, Pete" <[email protected]>
Newsgroups gmane.comp.apache.mod-proxy
Message-ID <[email protected]>
Well here I go .. 

here I'm having a problem is in doing a reverse URL conversion,
forward is just fine.

What I'm trying to do is have a Apache 1.3.24 (eventually 2.x) server
act only as a proxy. Getting forward to work has been easy, but getting
the reverse to be hidden is not being much fun.

I have a host that is accessible to the internet (actually behind a
firewall and has IP restrictions) called outside, this is the one
with Apache and a host inside or hidden called inside.

(Real names changed to protect the guilty)

http://outside/images       -> http://inside/
and
http://outside/images/      -> http://inside/

Work just fine, and thanks to another list on  how to get this to
work without a trialing slash.

but no matter what I do I can not get the correct reverse translation to
work

http://inside/you-name-it to become http://outside/images/you-name-it

What I have so far in my httpd.conf is:
-------------------------------------------------------------
RewriteRule       ^/images/*(.+) http://inside/$1 [P]

ProxyPass         /images/       <http://inside/>

ProxyPassReverse  /images/       <http://inside/>
ProxyPassReverse  /images/       <http://inside.hidden.xyz/>
--------------------------------------------------------------

The "home" URL that one would get if they where accessing the inside
server
directly is: 

http://inside.hidden.xyz/servlet/foo.bar.servlet.login.LoginServlet?acti
on=1

This is the URL that http://outside/images is trying to proxy.

Hope all this makes sense

-pete
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.