2012-02-08 35 views
0

從今天上午開始,我的EE 1.6.8本地安裝無法在/ cms加載控制面板。所有正在返回到瀏覽器是:爲什麼本地主機上的ExpressionEngine 1.6控制面板沒有響應?

<html> 

<head> 

<title>Redirect</title> 

<meta http-equiv="refresh" content="0; url=index.php"> 

</head> 

<body bgcolor="#ffffff"> 

</body> 



</html> 

我不知道什麼可能已經改變。在php錯誤日誌(錯誤日誌開啓)或apache日誌中沒有任何東西。主站點加載正常。這是在OSX雪豹本地運行和工作正常,所以我要尋找從調試誰知道EE而不是「哦,使用甲基苯丙胺」的步驟/建議;)

在config.php:

$ conf ['cp_url'] =「http://」。$ config_cp_url。「/cms/index.php」;

當試圖訪問http://local.mysite/cms/瀏覽器只是掛起。 PHP沒有達到最大執行限制,這使得我認爲這是Apache導致的問題,但我不知道什麼可以在一夜之間改變。

UPDATE

這裏是.htaccess文件。

# secure .htaccess file 
<Files .htaccess> 
order allow,deny 
deny from all 
</Files> 

# Dont list files in index pages 
IndexIgnore * 

# Simple 404 for missing files 
<FilesMatch "(\.jpe?g|gif|png|bmp)$"> 
    ErrorDocument 404 "File Not Found" 
</FilesMatch> 

RewriteEngine On 

RewriteBase/

# Add a trailing slash to paths without an extension 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/)$ 
RewriteRule ^(.*)$ $1/ [L,R=301] 

RewriteEngine on 
RewriteCond $1 !^(_assets|_css|_scripts|_uploads|cms|robots\.txt|index\.php) [NC] 
RewriteRule ^(.*)$ /index.php/$1 [L] 

# Remove IE image toolbar 
<FilesMatch "\.(html|htm|php)$"> 
    Header set imagetoolbar "no" 
</FilesMatch> 
+0

你有什麼新的你的htaccess文件? – 2012-02-09 00:35:36

回答

1

這通常是一個餅乾問題。嘗試清除緩存。

您看到的HTML來自system/index.html文件。你可能會在你的htaccess文件中導致類似的重定向。

+0

感謝Philip。我刪除了所有的cookies,清除了緩存等。我還包括了上面的.htaccess文件的內容。 – codecowboy 2012-02-14 09:56:29

0

我最近在運行1.6.7的網站上工作時遇到了此問題。我無法解決它,但升級到最新的1.7.x版(當時的1.7.2版)將其固定。

相關問題