From 9d3c8c0e6e1a7ba43bf3dc19350d1dca68b657a3 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 10 Feb 2019 11:16:07 +0800 Subject: Initial commit. --- blog/.htaccess | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 blog/.htaccess (limited to 'blog/.htaccess') 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" -- cgit v1.2.3