httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Owen Boyle <>
Subject Re: URL redirect
Date Thu, 14 Feb 2002 08:35:54 GMT
"Joseph M." wrote:
> Hello,
> Is it possible to redirect a URL without Changing the URL on the browser?

Strictly speaking "Redirect" has a very precise meaning - a 301 or 302
HTTP code which intructs the browser to fetch a different URL. Normally,
the browser will display this change to the user.

However, you can achieve the effect by using mod_rewrite. You set a
RewriteRule which will cause the *server* to fetch a different URL and
send it to the client. The client never sees the new URL (unless you
want it to...).

Read the excellent documentation on mod_rewrite that came with your
apache distro and see if that's what you want...


Owen Boyle.

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

View raw message