0
真的找不到我的錯誤,我可以訪問站點地圖/鏈接,但所有其他人提供404未找到錯誤。Apache htaccess文件,我哪裏出錯了?
DirectoryIndex index.php index.php?page=home index.php?page=error
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
<IfModule mod_rewrite.c>
RewriteEngine On
# some other stuff #
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteBase/
RewriteRule ^sitemap/?$ sitemap.xml.php [L]
RewriteRule ^([a-zA-Z]+)/?$ index.php?page=$1 [L]
RewriteRule ^products/?$ index.php?page=products [L]
RewriteRule ^products/([0-9]+)/?$ index.php?page=products&id=$1 [L]
</IfModule>
我真的很感激一些幫助,我在.htaccess文件絕對吸...
檢查您的錯誤日誌 - 顯示什麼? –
同一行一定次數:'[Wed Jul 04 02:56:30 2012] [error] [client 127.0.0.1]文件不存在:/ var/www/home「' –
Then ...你確定問題在於你的.htaccess文件? –