httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject RE: RewriteMap not allowed here
Date Mon, 04 Feb 2002 22:18:48 GMT

> From: Korey G. []

> What Im trying to do is to have everyone
>   from go to index.html and everyone
> from to go to index2.html

By "from" I assume you mean they clicked on a link on a page at  If my assumption is correct, then you want something like:

RewriteCond %{HTTP_REFERER} ^$ [NC]
RewriteRule (.*) /index.html
RewriteCond %{HTTP_REFERER} ^$ [NC]
RewriteRule (.*) /index2.html

Of course, you weren't very specific in your requirements, so this is just a


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