httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea" <softw...@polin.it>
Subject Re: [users@httpd] mod_rewrite for web maintenance
Date Sat, 04 Jan 2003 21:52:48 GMT
Hi,
I'd use:

RewriteEngine On
RewriteCond %{REQUEST_URI} !/maintainance.html
RewriteRule . /maintainance.html


Mr Andrea, Italy



----- Original Message -----
From: "Batara Kesuma" <bkesuma@george24.com>
To: <users@httpd.apache.org>
Sent: Saturday, January 04, 2003 22:30
Subject: [users@httpd] mod_rewrite for web maintenance


> Hi,
>
> I want to redirect all request to maintenance.html when I am doing web
> maintenance. I tried to use mod_rewrite, but it didn't work. This is what
> I put in my httpd.conf:
>
> RewriteEngine on
> RewriteRule .* /maintainance.html
>
> What did I do wrong? Please help, thanks a lot.
>
> --bk
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message