work/.htaccess
vilson bec96d2905 代码优化
Signed-off-by: vilson <545522390@qq.com>
2019-02-14 10:59:34 +08:00

10 lines
267 B
ApacheConf

<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
</IfModule>