httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] Redirect Help Please
Date Thu, 17 Jun 2004 18:02:52 GMT

On Thu, 17 Jun 2004, Steve Douville wrote:
> RedirectTemp

The first argument to Redirect* is a local-web-path, not a URL.  For 
RedirectTemp /

But it seems like you wouldn't want the default Redirect behavior, which 
is to do sub-string matching ("/" matches anything beginning in "/").  So 
probably what you want is

RedirectMatch temp ^/$

which hits only requests for the homepage.

If you want to restrict this to only a particular source-hostname, then 
you need to place it within an appropirate <VirtualHost> section.


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