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 ^=str_replace('.', '\\.', $allow_ip)?> env_allow_1
-Allow from env=env_allow_1
-Allow from =$allow_ip?>
-
-
-
- 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 =$targetPath?>
+
+
+
+SetEnvIf X-Forwarded-For ^=str_replace('.', '\\.', $allow_ip)?> env_allow_1
+Allow from env=env_allow_1
+Allow from =$allow_ip?>
+
+
+
+ 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