summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2019-02-10 11:16:07 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2019-02-10 11:16:07 +0800
commit9d3c8c0e6e1a7ba43bf3dc19350d1dca68b657a3 (patch)
tree339de0698c13e1763d3361d70fb1266621025c91 /.htaccess
downloadweb-9d3c8c0e6e1a7ba43bf3dc19350d1dca68b657a3.tar.xz
Initial commit.
Diffstat (limited to '.htaccess')
-rwxr-xr-x.htaccess17
1 files changed, 17 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
new file mode 100755
index 0000000..f9e8f01
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,17 @@
+Options +FollowSymlinks
+<Files ~ "^.*\.([Hh][Tt][Aa])">
+ Order allow,deny
+ Deny from all
+</Files>
+<Files .git>
+ Order allow,deny
+ Deny from all
+</Files>
+RedirectMatch 204 generate_204(.*)$
+ErrorDocument 400 /err/400.html
+ErrorDocument 403 /err/403.html
+ErrorDocument 404 /err/404.html
+ErrorDocument 500 /err/500.html
+ErrorDocument 502 /err/502.html
+ErrorDocument 503 /err/503.html
+ErrorDocument 504 /err/504.html