bo-blog / bw

Bo-blog Wind Version
MIT License
95 stars 21 forks source link

发现几个Bug #5

Open lkwq007 opened 9 years ago

lkwq007 commented 9 years ago
RewriteEngine on
RewriteBase /

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [L]

RewriteRule ^index/([0-9]+)/?$ index.php?/$1/ [QSA,L]
RewriteRule ^category/([^/]+)/([0-9]+)/?$ category.php?/$1/$2/ [QSA,L]
RewriteRule ^category/([^/]+)/?$ category.php?/$1/ [QSA,L]
RewriteRule ^post/([^/]+)/?$ read.php?/$1/ [QSA,L]
RewriteRule ^tag/([^/]+)/([0-9]+)/?$ tag.php?/$1/$2/ [QSA,L]
RewriteRule ^tag/([^/]+)/?$ tag.php?/$1/ [QSA,L]

是伪静态功能还没有完成吗?

bo-blog commented 9 years ago

RewriteBase / 这里要改成正确的安装路径。