![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi I've been trying to redirect all sited request to a one page that will communicate that the site is being updated and apologize for the inconvenience .......... I've been trying .htaccess but it doesn't want to work? What am I doing wrong? Redirect / http://www.mysite.com/update.htm Is there a better way to do it? Thank you Forgive me for asking but is that your real url? |
#3
| |||
| |||
|
|
I've been trying to redirect all sited request to a one page that will communicate that the site is being updated and apologize for the inconvenience .......... I've been trying .htaccess but it doesn't want to work? What am I doing wrong? Redirect / http://www.mysite.com/update.htm |
|
Is there a better way to do it? |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
RewriteEngine on RewriteCond %{REQUEST_URI} !update.htm$ RewriteRule .* /update.htm [R] For some reason it didn't work. The pages requested were not displayed but in place of update.htm I got an error 500 |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
Here goes the error log: [Fri Jul 2 04:29:33 2004] error parsing access file /ch/files5.rt/0DA/mysite.com/web//.htaccess, line 1, reason: unknown Directive |
![]() |
| Thread Tools | |
| Display Modes | |
| |