2015-03-31 56 views
-1

罰款我最近切換CI第3節 ,我不得不面對的問題 我活的服務器重定向到我的404錯誤頁面時,我打我的網址 它在本地主機上完全正常,但它在服務器上不起作用。 我的.htaccess文件是我笨v.3的網站不能正常工作肝服務器上具有本地主機上

RewriteEngine on 
RewriteCond $1 !^(index\.php|images|robots\.txt) 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule ^(.*)$ /index.php?/$1 [L] 




# 2 ---- Prevent directory file listing in all of your folders ---- 

IndexIgnore * 
+0

轉彎,比檢查錯誤消息,因爲如果你使用的開發和生產的文件夾結構大多使用error_reporting不活的服務器上啓用。 – 2015-03-31 18:08:41

+0

如果您認爲「不能正常工作」意味着htaccess中存在問題,我認爲您會得出結論。 – GolezTrol 2015-03-31 18:11:32

+0

伊姆蘭我沒有得到它會讓我更容易 – 2015-03-31 18:21:43

回答

相關問題