OSX
自己检测phpinfo(),是否开启mod_rewrite
结果发现没有开启
然后开启重启就可以了
谢谢O(∩_∩)O
我猜你apache是2.0的吧;
如果是Apache 2.0 Handler;比如Mac自带的就是这版本;
那么就到Apache下面找到httpd.conf,然后把以下这段加进去:
# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>