You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ranieri Mazili <ra...@gmail.com> on 2011/02/10 17:55:26 UTC

[users@httpd] Hiding an URL with Apache 2

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

Re: [users@httpd] Hiding an URL with Apache 2

Posted by Ranieri Mazili <ra...@gmail.com>.
The problem is because the Websphere link I'm using is a link that does the
authentication through the url then redirect to another page. This page has
7 steps that the user need to complete, for each step, it redirects to
another url.

Right now, when I try to access http://newproposal.guaruja, I'm receing the
following error of my websphere server:

Error 404: SRVE0190E: File not found:
/redirect-login.jsp?credentials=dHdfafartaW4=:dHdfaQrqweaW4=&j_forward=executeServiceByName%3FprocessApp=CCU%26serviceName=Register%20Proposal


--
Ranieri


On Thu, Feb 10, 2011 at 3:06 PM, Eric Covener <co...@gmail.com> wrote:

> > I've tried to do that using VirtualHost, but without success... Below is
> > what I tried.
>
> What happened?
>
> ---------------------------------------------------------------------
> 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] Hiding an URL with Apache 2

Posted by Eric Covener <co...@gmail.com>.
> I've tried to do that using VirtualHost, but without success... Below is
> what I tried.

What happened?

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