From 1500e8e54ff6166574be177c9a303097326eba79 Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 3 Jun 2020 01:51:31 +0900 Subject: [PATCH] =?UTF-8?q?=EC=84=9C=EB=B2=84=EA=B0=80=20=EB=8B=AB?= =?UTF-8?q?=ED=9E=8C=20=EA=B2=BD=EC=9A=B0=20=EB=A6=AC=EB=8B=A4=EC=9D=B4?= =?UTF-8?q?=EB=A0=89=ED=8A=B8=ED=95=98=EB=8F=84=EB=A1=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 403.html | 23 +++++++++ src/sammo/templates/block_htaccess.php | 67 +++++++++++++++----------- 2 files changed, 61 insertions(+), 29 deletions(-) create mode 100644 403.html diff --git a/403.html b/403.html new file mode 100644 index 00000000..8127b67a --- /dev/null +++ b/403.html @@ -0,0 +1,23 @@ + + + + + 닫혀 있습니다. + + + + + 서버가 닫혀있습니다.
+ 잠시 뒤에 입구로 이동합니다. + + \ No newline at end of file diff --git a/src/sammo/templates/block_htaccess.php b/src/sammo/templates/block_htaccess.php index f544d747..ea90c6ad 100644 --- a/src/sammo/templates/block_htaccess.php +++ b/src/sammo/templates/block_htaccess.php @@ -1,30 +1,39 @@ - -Header set Cache-Control "max-age=60, must-revalidate" - - -Deny from all - -SetEnvIf X-Forwarded-For ^ env_allow_1 -Allow from env=env_allow_1 -Allow from - - - - Allow from 127.0.0.1 ::1 localhost - - - - Allow from all - - - Allow from all - - - Allow from all - - - Allow from all - - - Allow from all + +Header set Cache-Control "max-age=60, must-revalidate" + + +Deny from all + +ErrorDocument 403 + + + +SetEnvIf X-Forwarded-For ^ env_allow_1 +Allow from env=env_allow_1 +Allow from + + + + Allow from 127.0.0.1 ::1 localhost + + + + Allow from all + + + Allow from all + + + Allow from all + + + Allow from all + + + Allow from all \ No newline at end of file