RewriteRule无法在主机上运行

时间:2016-05-28 15:20:54

标签: .htaccess mod-rewrite host

主持人不起作用,但在本地工作

Options -Indexes 
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)

RewriteRule .* - [F]

RewriteRule ^([^/]+).html$ index.php?page=ista&link=$1 [L]

1 个答案:

答案 0 :(得分:0)

问题解决了。禁用主机nginx