由网友(爺。善解人衣)分享简介:我有这个htaccess文件i have this htaccess fileRewriteEngine OnRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME...
我有这个htaccess文件
i have this htaccess file
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
它工作正常,在本地主机和一台服务器上,但是当我把它放在godady 每一件事情是好的,除了指数它给了我404!
it works fine on local host and on a server but when i put it on godady every thing is fine except for index it gives me 404 !
例子 http://www.mydomain.com/books 这是确定 http://www.mydomain.com/index 这是没有确定
examples http://www.mydomain.com/books this is ok http://www.mydomain.com/index this is not ok
推荐答案
补充一点:
Options +FollowSymLinks -MultiViews -Indexes
在最高层,并给它一个尝试。
at the very top and give it a try.
相关推荐
最新文章