서버 폐쇄시 redirect를 불완전한 html meta태그가 아닌 .htaccess과 php 조합(303)으로 변경
This commit is contained in:
1 parent
d2d2e8e007
commit
ebe0f0556c
3 files changed
+16
-9
No files matched your search
@@ -0,0 +1,12 @@
|
||||
RewriteEngine on
|
||||
|
||||
RewriteCond %{ENV:URI} ^$
|
||||
RewriteRule ^(.*)$ - [ENV=URI:$1]
|
||||
|
||||
RewriteCond %{ENV:BASE} ^$
|
||||
RewriteCond %{ENV:URI}::%{REQUEST_URI} ^(.*)::(.*?)\1$
|
||||
RewriteRule ^ - [ENV=BASE:%2]
|
||||
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule ^(.*)$ %{ENV:BASE}maintenance.php [R=303,L,QSA]
|
||||
|
||||
Reference in new issue
Block a user