nginx的:location / {
try_files $uri $uri/ /index.php?$uri&$args;
}请教 apache的怎么写?
2 回答

慕仙森
TA贡献1827条经验 获得超8个赞
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1 [L]
- 2 回答
- 0 关注
- 2143 浏览
添加回答
举报
0/150
提交
取消