summaryrefslogtreecommitdiff
path: root/blog/.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 /blog/.htaccess
downloadweb-9d3c8c0e6e1a7ba43bf3dc19350d1dca68b657a3.tar.xz
Initial commit.
Diffstat (limited to 'blog/.htaccess')
-rw-r--r--blog/.htaccess5
1 files changed, 5 insertions, 0 deletions
diff --git a/blog/.htaccess b/blog/.htaccess
new file mode 100644
index 0000000..704db67
--- /dev/null
+++ b/blog/.htaccess
@@ -0,0 +1,5 @@
+#RewriteRule ^/?list/(.*)$ ./list [PT]
+#RewriteRule ^/?post/(.*)$ ./post [PT]
+Options -Indexes
+RedirectMatch "^/blog(/*)$" "/blog/list"
+RedirectMatch "^/blog/post(/*)$" "/blog/list"