新增伪静态规则文件
parent
05404fb186
commit
bb4ecf5df5
|
|
@ -5,4 +5,4 @@
|
|||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
|
||||
</IfModule>
|
||||
</IfModule>
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
location / {
|
||||
if (!-e $request_filename) {
|
||||
rewrite ^(.*)$ /index.php?s=/$1 last;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue