我剛剛完成我的網站,使用笨,我上傳的網站到BlueHost的帳戶作爲一個附加域.htaccess文件提出一個500錯誤頁面
我不使用QUERY_STRINGS,這裏是它在我的配置文件:
$config['enable_query_strings'] = FALSE;
該網站將喲工作以及在我的測試服務器,但它上傳到我的BlueHost的帳戶,我想瀏覽任何網頁否則主頁
的時候遇到一些問題有另一個codeigniter網站loc的問題在主機的根目錄下有.htaccess文件以使其正常工作,所以當創建指向主域網站內的文件夾的新網站時,我認爲存在與我的插件網站的.htaccess相關的問題
這裏是我的插件網站
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /http://www.mydomain.com/
#Removes access to the system folder by users.
#Additionally this will allow you to create a System.php controller,
#previously this would not have been possible.
#'system' can be replaced if you have renamed your system folder.
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
#When your application folder isn't in the system folder
#This snippet prevents user access to the application folder
#Submitted by: Fabdrol
#Rename 'application' to your applications folder name.
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
#Checks to see if the user is attempting to access a valid file,
#such as an image or css document, if this isn't true it sends the
#request to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.
# Submitted by: ElliotHaughin
ErrorDocument 404 /index.php
</IfModule>
評論了一次在一個線和一個導致500錯誤,那個重寫基地看起來也很腥,但是100%確定 – Eli 2012-02-06 01:20:11
重寫基地'RewriteBase/http:// www.domain.com /' – 2012-02-06 01:21:40
@宙斯的書:雅我以爲它使重定向困惑,可能無法訪問或內部循環? – Eli 2012-02-06 01:23:55