imbzd/AnyCMS/master/.htaccess
# Author: luochuan wang
# Filename: .htaccess
# Create date: 2015-02-10
# Description: URL Rewrite
<IfModule mod_rewrite.c>
#开启引擎
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php$1 [QSA,PT,L]
#文章详细页匹配
#自定义错误页 - 404
ErrorDocument 404 ./errors/e404.html
</IfModule>
#添加svg woff支持
AddType application/x-font-woff .woff
AddType image/svg-xml .svg
Files
