[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Apache mod_rewrite question
- Subject: Re: [cobalt-users] Apache mod_rewrite question
- From: Jeremy Wadsack <jwadsack@xxxxxxxxxxxxxxxxx>
- Date: Tue Apr 1 07:44:24 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Ian (cobalt@xxxxxxxxxxxxx; Tuesday, April 01, 2003 7:12 AM):
> Hi List,
> I wish to redirect all visits to any page on a vsite to one
> particular page.
> For example to site_down.html.
> Does anyone know the mod_rewrite syntax for this ?
This might do the trick. I am assuming you want a temporary
redirection.
RewriteEngine on
RewriteRule ^/.*$ /site_down.html [R,L]
See http://httpd.apache.org/docs/misc/rewriteguide.html and
http://httpd.apache.org/docs/mod/mod_rewrite.html for details.
--
Jeremy Wadsack
Wadsack-Allen Digital Group