我有简单的重写规则:
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !\.(js|ico|txt|gif|jpg|png|css)$ index.php
规则在Windows服务器上正常工作
在Linux(Ubuntu 12.10)上,除了/index
URL之外,它们都可以工作。 /index/*
返回默认的apache 404页面。
我该如何解决这个问题?