歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 19, 2024, 11:31:18 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  .htaccess修改問題 « 上篇主題 下篇主題 »
頁: [1]
作者 主題: .htaccess修改問題  (閱讀 11300 次)
musa
新手見習
*
文章: 17


檢視個人資料 個人網站
« 於: 一月 15, 2008, 08:38:54 下午 »

我的問題是,我把.htaccess放到www/下後,我的首頁會出現最下面這樣的錯誤,我的title是出現 500 internal server error的title,我有看我的.htaccess,裡面本來就是改成下面這三行了,我的編碼,也原本就是ansi了,也都不行,我也有再次上傳我的.htaccess及error.php,可是,我回我的首頁,都會出現最下面的錯誤,只有把.htaccess刪掉,進我的首頁才會正常,想請問一下,我要怎麼辨,我是用1.2.5的版本lifetype,主機是智邦的。

ErrorDocument 401 /error.php
ErrorDocument 403 /error.php
ErrorDocument 404 /error.php


****************************************************
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, mymailer@corp.url.com.tw and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
******************************************************
已記錄

lifetype:1.2.7
主機:智邦
musa
新手見習
*
文章: 17


檢視個人資料 個人網站
« 回覆文章 #1 於: 一月 15, 2008, 11:14:34 下午 »

我的問題是,我把.htaccess放到www/下後,我的首頁會出現最下面這樣的錯誤,我的title是出現 500 internal server error的title,我有看我的.htaccess,裡面本來就是改成下面這三行了,我的編碼,也原本就是ansi了,也都不行,我也有再次上傳我的.htaccess及error.php,可是,我回我的首頁,都會出現最下面的錯誤,只有把.htaccess刪掉,進我的首頁才會正常,想請問一下,我要怎麼辨,我是用1.2.5的版本lifetype,主機是智邦的。

ErrorDocument 401 /error.php
ErrorDocument 403 /error.php
ErrorDocument 404 /error.php


****************************************************
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, mymailer@corp.url.com.tw and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
******************************************************

再加一個錯誤,我網頁上放在gallery/下的的圖,都show不出來了,我後來把gallery下的.htaccess刪掉,網頁上的圖才會show出來,gallery/下的.htaccess裡是下面這些程式,想請問一下,怎麼會這樣,我之前都是好好的,好像是今天,我請智邦的工程師,開啟mod_rewrite 設定,後才會有這些問題,不知道他開啟了什麼,我之前是要請他們開AllowOverride All這個,可是他們說要開啟mod_rewrite設定,那是不是這邊有問題?還是要請他們再開啟其它設定???

<Files "*.php">
 Order allow,deny
 Deny from all
</Files>

<Files "*.htm">
 Order allow,deny
 Deny from all
</Files>

<Files "*.html">
 Order allow,deny
 Deny from all
</Files>

已記錄

lifetype:1.2.7
主機:智邦
musa
新手見習
*
文章: 17


檢視個人資料 個人網站
« 回覆文章 #2 於: 一月 16, 2008, 04:39:09 下午 »

我來自問自答,問題出在,智邦的工程師,只幫我開啟一些功能,沒有全開,後來我再三訊問後,才幫我把功能全開,然後,就都可以了。
已記錄

lifetype:1.2.7
主機:智邦
頁: [1]
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  .htaccess修改問題 « 上篇主題 下篇主題 »
    前往: