- 論壇徽章:
- 0
|
我的httpd.conf 中,
ServerRoot "/usr/local/apache"
DocumentRoot "/usr/local/apache"
在瀏覽器中輸入: http://localhost/,,得到一個正常的目錄列表:
Parent Directory 19-Oct-2006 13:39 -
: 18-Oct-2006 17:56 32k
bin/ 19-Oct-2006 05:53 -
cgi-bin/ 16-Oct-2006 15:15 -
conf/ 19-Oct-2006 16:58 -
htdocs/ 16-Oct-2006 15:31 -
icons/ 16-Oct-2006 15:22 -
include/ 16-Oct-2006 15:15 -
libexec/ 16-Oct-2006 15:15 -
logs/ 19-Oct-2006 08:12 -
man/ 16-Oct-2006 15:14 -
proxy/ 16-Oct-2006 15:15 -
點擊均可進入,除了cgi-bin/ 這個目錄,每當想進入該路逕時,總是顯示403錯誤:
Forbidden
You don't have permission to access /cgi-bin/ on this serve
錯誤日志的內(nèi)容是:
[Thu Oct 19 17:05:43 2006] [error] [client 127.0.0.1] attempt to invoke directory as script: /usr/local/apache/cgi-bin
[Thu Oct 19 17:06:21 2006] [error] [client 127.0.0.1] attempt to invoke directory as script: /usr/local/apache/cgi-bin
[Thu Oct 19 17:14:14 2006] [error] [client 127.0.0.1] attempt to invoke directory as script: /usr/local/apache/cgi-bin
我用ll -d看了這幾個目錄 ,都是drwxr-xr-x屬性,沒什么區(qū)別啊, 大家誰能告訴我到底為什么cgi-bin/ 如此特殊? |
|