Thanks.... I wound up using mod_rewrite instead, and it works fine:

RewriteRule ^/gallery2/(.*)$  http://apache2.foo.com/gallery2/$1 [P,L]
RewriteRule ^/(.*)$           http://apache2.foo.com/gallery2/$1 [P,L]

Hopefully, the end result of all this work will be to migrate off 1.3 and on to 2.x. I'm stuck with DB upgrade issues at the moment though, since it is a whole new OS as well.

Thanks again!

/greg

On 8/9/06, Vincent Bray <[EMAIL PROTECTED]> wrote:
On 8/8/06, Gregory F. March <[EMAIL PROTECTED]> wrote:
> When apache (1.3) proxy's requests, gallery is dropping the port (the
> gallery bug), but apache appears to be returning url's to my browser with
> the 'gallery2' added. So, for example, I make a request for:
>
>     http://apache13.foo.com:443/main.php
>
> and I get back:
>
>     http://apache13.foo.com/gallery2/main.php

That's generally what happens when you reverse proxy to a site using a
different base uri ('/' and '/gallery2' in this case). You could make
this a lot easier by using
http://apache13.foo.com:443/gallery2/main.php
.. as the front side url. There's a fine module for apache2.x called
mod_proxy_html which can work around these issues, but that doesn't
help you running 1.3 on the proxy.

--
noodl

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL: http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Gregory F. March    |    http://www.gregmarch.com    |    AIM:GfmNet

Reply via email to