ServerAdmin、ServerName、Port 即可。若已啟用 DNS,會以 DNS 設定為預設值,需留意。[D]:/Program Files/Apache Group/Apache2/htdocs
需修改時編輯 httpd.conf:
DocumentRoot "你的主頁位置" <Directory "你的主頁位置">
啟用使用者主頁可設定:
UserDir "使用者主頁集合位置" 存取方式:https://ServerName:Port/~使用者目錄名
DirectoryIndex index.php index.html index.html.var
AddDefaultCharset GB2312
LoadModule php4_module c:/php/experimental/apache2filter.dll AddOutputFilter PHP .php AddInputFilter PHP .php AddType text/html .php
注意: 請確認 apache2filter.dll 實際路徑。
與低版本相同。完成上述步驟即可享受 Apache 2.0 新功能。