httpd-2.2.x-win32-x86-no_ssl.msi (無 SSL) 或 openssl 版。httpd.conf:Listen 81 並重裝。瀏覽器訪問 https://localhost (或 :81) 出現 "It works!" 頁面即成功。
# 文檔根目錄
DocumentRoot "D:/Programs/Apache2.2/htdocs"
# 虛擬目錄 (別名)
Alias /webpath/ "D:/Programs/WebPath"
Alias /webpath "D:/Programs/WebPath" # 無尾斜線也能訪問,Apache 自動補全
# URL 永久重導向
Redirect permanent /foo/ https://www.example.com/bar/
# 虛擬主機配置參考官方文檔
# https://httpd.apache.org/docs/2.2/vhosts/
[Apache安裝目錄]/logs/error.log。建立專用低權限服務帳號運行 Apache,而非預設 Local System。