httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krist van Besien" <>
Subject Re: [users@httpd] url reformat - howto
Date Thu, 18 May 2006 07:52:42 GMT
On 5/18/06, Oliver A. Rojo <> wrote:
> Hi all!
> Im running Java pages on my server. Basically, all pages will have a
> direct url like
> What I did is for user not to type a long url by simply typing the
> normal domain such as and redirecting to
> What appears to be my problem is how to avoid the whole
> url appear on the browser which is
> when I type in the absolute domain,
> url will just map into which will eventually
> appear on the client's browser.

This is what happens when you do a redirect:

- Browser requests
- Server answers with "I don't have this, but try in stead.
- Browser requests

And for this reason the new URL apears on the adress line of the
browser. This is by design.

If you want to hide the fact that resources are not where they apear
to be you need to use reverse proxying, not redirection.


Solothurn, Switzerland

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message