[EMAIL PROTECTED] Redirecting temporarily all pages to /

2007-09-11 Thread Laurent Blume
Hi all, I've hit soetmhing that seemed obvious at first, and I can't get it to work: I want to be able to do a temporary redirect all accesses to the web server to / in some cases (maintenance work mainly). I though that something like that would do, with a single dot to ensure that only

Re: [EMAIL PROTECTED] Redirecting temporarily all pages to /

2007-09-11 Thread Bj
Check if your index.hml and if any ErrorDocument directives are not interacting. and try with Rewrite : RewriteEngine On RewriteCond %{REQUEST_URI} ^/.+$ [NC] RewriteCond %{REQUEST_URI} !^/$ [NC] RewriteRule ^/.* http://www.google.fr [L,R=302] -- Bj On 9/11/07, Laurent Blume [EMAIL

Re: [EMAIL PROTECTED] Redirecting temporarily all pages to /

2007-09-11 Thread Laurent Blume
Bj a écrit : Check if your index.hml and if any ErrorDocument directives are not interacting. No, it's a very simple httpd.conf, no ErrorDocument, almost no module actually, only the basic minimum to display a warning message. and try with Rewrite : RewriteEngine On RewriteCond