httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo ...@perlig.de>
Subject Re: [users@httpd] Redirecting all url's to a unique one while updating the site
Date Fri, 14 Jan 2005 11:35:55 GMT
* Grand Apeiron wrote:

> On Fri, 2005-01-14 at 12:02 +0100, Zouari Fourat wrote:
> > Hello
> > I would like to redirect all visits to a unique page on wich i'll show
> > that the site is under maintenance and remove this option once
> > finished my updates.
> > is there anybody who made that simple ?
>
> You can achieve that with mod_rewrite
>
> http://httpd.apache.org/docs-2.0/misc/rewriteguide.html

Well, that's possible (but not that good in terms of HTTP), but there's a 
better solution using mod_alias:

Redirect 503 /

nd
-- 
"Solides und umfangreiches Buch"
                                          -- aus einer Rezension

<http://pub.perlig.de/books.html#apache2>

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