You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Giuseppe DELL'ERBA <gi...@st.com> on 2004/06/30 12:27:24 UTC

[users@httpd] RE: External Application protected by a virtual path

...any suggestions?
Thanks
Peppe

-----Original Message-----
From: giuseppe dellerba [mailto:giuseppe.dellerba@st.com] 
Sent: Friday, June 25, 2004 11:22 AM
To: 'users@httpd.apache.org'
Subject: External Application protected by a virtual path


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


RE: [users@httpd] RE: External Application protected by a virtual path

Posted by Giuseppe DELL'ERBA <gi...@st.com>.
The doc was very useful: mod_proxy_html is needed in order to fix HTML
links.

Thanks

Peppe

-----Original Message-----
From: Nick Kew [mailto:nick@webthing.com] 
Sent: Wednesday, June 30, 2004 2:35 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] RE: External Application protected by a virtual
path


On Wed, 30 Jun 2004, Giuseppe DELL'ERBA wrote:

> ...any suggestions?

I'm not quite sure what you're asking, but I suspect what you need may be
http://www.apacheweek.com/features/reverseproxies

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



---------------------------------------------------------------------
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


Re: [users@httpd] RE: External Application protected by a virtual path

Posted by Nick Kew <ni...@webthing.com>.
On Wed, 30 Jun 2004, Giuseppe DELL'ERBA wrote:

> ...any suggestions?

I'm not quite sure what you're asking, but I suspect what you need may be
http://www.apacheweek.com/features/reverseproxies

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