httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Victor Tsang <vic...@outblaze.com>
Subject Re: [users@httpd] mod_rewrite for web maintenance
Date Mon, 06 Jan 2003 01:57:53 GMT
I have done something similar before, and may I remind you to put in the
no cache directive either in form of http header or meta tag in html.  I
forgot to do it once a long time before ending up a bunch of user cached
the page and renending them unable to access our site for days.


Tor.


Andrea wrote:
> 
> 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

---------------------------------------------------------------------
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