Apache+php3 在WIN98下的安裝與配置
/software/apache_1_3_12_win32.exe
安裝於c:apache
配置:httpd.conf
一、ServerType(伺服器類型)
standalone和inetd
二、ServerRoot(伺服器根目錄)
ServerRoot “C:/apache"
三、port(伺服器連接埠)
可為80或8080,可以為任意數!
四、ServerAdmin(伺服器管理員)
伺服器管理員的Email地址。如有錯,會給伺服器管理員自動發信。
五、Servername(名稱)
有效電腦網域名稱。
六、documentroot(文檔主目錄)
預設的html主文件的地址。如documentroot "C:/apache/htdocs"
七、directoryindex(預設主文件)
directoryindex index.htm index.htm index.php3
八、ScriptAlias(指令碼別名)
存放CGI程式的目錄或URL 如:ScriptAlias /cgi-bin/"C:/apache/cgi-bin/"
九、addType
對指定副檔名的檔案建立特定的MIME類型(“text/html")
十、Directory
在和之間有五條指令:Options,AllowOverride,order,allow,deny.
Options決定該目錄下的所有檔案採取什麼樣的操作,其值可為:none,all,indexs,includes,followSymlinks,ExecCGI,MultiViews.
http://www.bkjia.com/PHPjc/632882.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/632882.htmlTechArticleApache+php3 在WIN98下的安裝與配置 /software/apache_1_3_12_win32.exe 安裝於c:apache 配置:httpd.conf 一、ServerType(伺服器類型) standalone和inetd 二、Server...