Robert Steinmetz AIA wrote:
I have been working on a reverse proxy problem for a while. I have it mostly working but I need to rewrite some URLs to delete one level of directory

I think ProxyHTMLURLMap will be able to do it and I have determined that it is doing something on my machine, just not what I want.

The proxy is creating URLs in the form "http://hostname/application/file";
I need them in the form "http:/hostname/file", where hostname is the VirtualHost of the reverse proxy.

That's the opposite to the 'usual' configuration, and should work
fine if you just reverse the example rules in the tutorial.

I think I understand in its simplest form ProxyHTMLURLMAp matches from the beginning left to right,
I need it to match for "/application" anywhere in the URL

You could do that with a regexp, but it'll be simpler and run
faster if you just use two simple string matches, one for
"/application" and another for "http://server/application";.

--
Nick Kew

---------------------------------------------------------------------
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: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to