[問題]關於CGI 顯示404錯誤 如何解決?
發表於 : 2006-12-04 19:38
關於CGI 顯示404錯誤 如何解決?
圖 > 這是代表什麼沒開啟的呢?

圖 > 這是代表什麼沒開啟的呢?


這代表你把 cgi 丟錯地方了...lovekuverx 寫:關於CGI 顯示404錯誤 如何解決?
你的 ScriptAlias 還在嗎?lovekuverx 寫:可是路經為 C:\Program Files\xampp\cgi-bin 應該都沒有錯 之前是好好的 突然就變成404 不知道什麼關西 要怎麼才能找出原因?
httpd.conf 裡面的設定lovekuverx 寫:ScriptAlias 是什麼?
雖然說我還是幫你看過了,但是希望下回你還是自己看一下,畢竟我連要改什麼東西都跟你說了,自己動手看一下問題在哪裡不為過吧?lovekuverx 寫:請你幫我 看看 httpd.conf 麻煩你了
httpd.conf 下載
代碼: 選擇全部
ScriptAlias /cgi-bin/ "C:/Program Files/xampp/htdocs/"sorry,我照著 http://home.educities.edu.tw/kai2002/teach/activeperl/chiouss 寫:雖然說我還是幫你看過了,但是希望下回你還是自己看一下,畢竟我連要改什麼東西都跟你說了,自己動手看一下問題在哪裡不為過吧?lovekuverx 寫:請你幫我 看看 httpd.conf 麻煩你了
httpd.conf 下載
你的 ScriptAlias 設定是請把它改回 C:/Program Files/xampp/cgi-bin 去吧!記得把下面 <Directory> 的後面那串也改回來。代碼: 選擇全部
ScriptAlias /cgi-bin/ "C:/Program Files/xampp/htdocs/"

圖片我看不到,教學的文章最後的說明有錯誤。lovekuverx 寫:sorry,我照著 http://home.educities.edu.tw/kai2002/teach/activeperl/
可是我修改回來了 現在是顯示 (圖片) 我真的對這設定一竅不通 請你見諒...
代碼: 選擇全部
ScriptAlias /cgi-bin/ "E:/wwwdata/cgi-bin/"代碼: 選擇全部
ScriptAlias /cgi-bin/ "C:/Program Files/xampp/cgi-bin/"代碼: 選擇全部
<Directory "E:/wwwdata/cgi-bin">代碼: 選擇全部
<Directory "C:/Program Files/xampp/cgi-bin">Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
你的 error.log 裡面寫什麼?403 丟出來的訊息不夠...lovekuverx 寫:我這樣設定的 可是它顯示
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
這種東西本來是給你找比較快的,因為你自己清楚時間,要自己重新產生一次 error 也很方便...lovekuverx 寫:error.log文件 麻煩chiouss大大了
http://www.rogepost.com/n/0520037978
代碼: 選擇全部
[Sun Dec 10 17:11:35 2006] [error] [client 127.0.0.1] client denied by server configuration: C:/Program Files/xampp/cgi-binnew, referer: http://127.0.0.1/wwe/index/index.html