.htaccess无法通过网络工作

时间:2013-10-22 22:31:50

标签: php .htaccess

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.+)$ index.php?uri=$1 [QSA,L]

如果我访问

,则上述工作正常
http://localhost/dir/param-name

但在

上抛出错误
http://192.168.16.64/dir/param-name (throws 404 error, it's the ip of my machine)

0 个答案:

没有答案