httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Li <>
Subject [users@httpd] help with redirect base on context
Date Tue, 12 Feb 2008 20:32:44 GMT
I would like to redirect base on the context:

When user access my server with the following:


I would like to redirect them to another site.
I try the following, but did not get it work.

    RewriteEngine on
    RewriteCond %{REQUEST_URI} ^/outside$   [NC]
    RewriteRule ^/$ http://server/basic.jsp [R]

It just gives me a page not found 404.
Please can yo point out what am I doing wrong?


Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

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