httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ranieri Mazili <ranier...@gmail.com>
Subject [users@httpd] Hiding an URL with Apache 2
Date Thu, 10 Feb 2011 16:55:26 GMT
Hello,

I would like to hide an URL of another server with apache.
I have the following link of an WebSphere server:
http://imb-aps-dev-004/projects/redirect-login.jsp?credentials=dHdfUWRfjaW4=:dHdARTHastaW4=&j_forward=executeServiceByName%3FprocessApp=CCU%26serviceName=Register%20Proposal

I've installed an apache server on another server and would like to hide
this URL to http://newproposal.guaruja.

So, when the user calls http://newproposal.guaruja, it's calling the
websphere link, but I would like to do that in a completed transparent way,
that means, I won't just redirect, I want to preserv
http://newproposal.guaruja as the url in the browser. How could I do that?

I've tried to do that using VirtualHost, but without success... Below is
what I tried.

<VirtualHost *:80>
    ProxyPreserveHost On

    ProxyPass /
http://imb-aps-dev-004/projects/redirect-login.jsp?credentials=dHdfUWRfjaW4=:dHdARTHastaW4=&j_forward=executeServiceByName%3FprocessApp=CCU%26serviceName=Register%20Proposal
    ProxyPassReverse /
http://imb-aps-dev-004/projects/redirect-login.jsp?credentials=dHdfUWRfjaW4=:dHdARTHastaW4=&j_forward=executeServiceByName%3FprocessApp=CCU%26serviceName=Register%20Proposal

    ServerName newproposal.guaruja
</VirtualHost>

Thanks

--
Ranieri

Mime
View raw message