在終端控制台上運行#ps
如果運行了
在運行Apache/bin路徑下找到apachectl命令
#apachectl start
#apachectl stop
a
找到: ServerRoot
b
找到: DocumentRoot
c
Alias /icons/
ScriptAlias /cgi
d
在
增加Option +Includes +ExecCGI
(其它參數說明
MultiViews 找相似的文件名)
去掉加注釋的以下語句
AddType text/html
AddHander server
(如果想使htm文件支持SSI
AddType text/
AddHander
)
去掉加注釋的以下語句
AddHandler cgi
AddHander cgi
DirectoryIndex l
(如果想增加別的類別文件
MaxKeepAliveRequests
MaxClient


From:http://tw.wingwit.com/Article/program/Oracle/201311/17171.html