I think you may be right I've tried to put a ProxyHTMLURLMap in the
configuration, it seems like all I need to do is remove one part of the
url, from one file but so far It hasn't had any effect.
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.
<VirtualHost * >
ServerName application.mydomain.com
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPreserveHost On
ProxyPass / http://IPaddresshere/
ProxyPassReverse / http://IPaddress/
The application root is http://IPaddress/application I'd like the URL
http://application.mydomain.com to open the application login
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.aspx
It 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-unsubscr...@httpd.apache.org
" from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org