Matt McCutchen wrote:
On Tue, 2009-02-03 at 18:43 -0600, Robert Steinmetz wrote:I am setting up a reverse proxy of an application. I have it working mostly except I can get the URLs to respond like I want to. it seem it should be simple but now I've gotten myself confused.The application root is http://IPaddress/application I'd like the URL http://application.mydomain.com to open the application login<VirtualHost * > ServerName application.mydomain.comProxyRequests Off<Proxy *> Order deny,allow Allow from all </Proxy> ProxyPreserveHost On ProxyPass / http://IPaddresshere/ ProxyPassReverse / http://IPaddress/The configuration above works if I open http://application.mydomain.com/application.I'd like to eliminate the /application If in <VirtualHost>I add ProxyPass /http://IPaddress/application/ I get the login but subsequently I get http://application.mydomain.com/application/file.aspxIt sounds like the application is generating an absolute link that you need to rewrite with mod_proxy_html, as mentioned in the ProxyPassReverse documentation: http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreverse
-- *Robert Steinmetz, AIA* Principal *Steinmetz & Associates* --------------------------------------------------------------------- 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-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx