httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vik Rubenfeld <>
Subject [users@httpd] Re: Redirect without location change
Date Tue, 27 Apr 2004 20:00:15 GMT
>> I would like to know How I can achieve a redirect without having the new URL
>> show up in the browser Location using the apache.

On 3/21/04 11:51 AM, "Malka Cymbalista" <>

> I asked the same question here a while ago.
> First you have to make sure you have the proxy module compiled into
> your Apache server program. If you don't know please check whether
> mod_proxy.c is part of the ``httpd -l'' output. If yes, this
> functionality is available to mod_rewrite. If not, then you first have
> to rebuild the ``httpd'' program with mod_proxy enabled.
> Then write your rewrite rule as follows:
> RewriteCond %{REQUEST_URI} ^/$
> RewriteRule ^/$ http://www1.location.coml [L,P]
> This assumes that the URL of your web server is
> hence the REQUEST_URI is simply ^/$

I have a similar question, except that the original URL is coming from a
different server to my server. Will the approach described here still work
in that case?


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