httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giuseppe DELL'ERBA" <giuseppe.delle...@st.com>
Subject [users@httpd] External Application protected by a virtual path
Date Fri, 25 Jun 2004 10:21:32 GMT
Hi,

I have got an issue in protecting an external application via Apache HTTP Server, I put 'pippo'
as virtual path for protecting the http://usmt.st.com path.

In the mod_proxy I put:

<IfModule mod_proxy.c>
<Location /pippo>
Require valid-user
AuthType Basic
OssoLegacyApp off
</Location>

ProxyPass /pippo/ http://usmt.st.com/
ProxyPassReverse /pippo/ http://usmt.st.com/


so, when I type the 
http://linbox16.ct6.st.com:7778/pippo/User_Services/Partner_Gateway/Entry_Management/pgw_entry_management.php
link (application main page), the USMT external application main page is showed.

One issue is present, some components are not displayed (like images). I had a look in the
html code and the images have no absolute path.
In the Apache mod_proxy documentation 
(http://httpd.apache.org/docs-2.0/mod/mod_proxy.html), for the ProxyPassReverse directive
description I have found: "... Apache will not rewrite other response headers, nor will it
rewrite URL references inside HTML pages. This means that if the proxied content contains
absolute URL references, they will by-pass the proxy..."

I don't know how to solve this issue or create a workaround for that.
Have you any idea?

Thanks a lot in advance

Peppe




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


Mime
View raw message