Apache 常見問題

我的bug寫的太好了發表於2018-11-23

虛擬域名

  1. 配置域名
    C:\Windows\System32\drivers\etc\hosts
  2. 修改 httpd.conf
    Include conf/extra/httpd-vhosts.conf
  3. 修改 httpd-vhosts.conf
    <VirtualHost *:80>
    DocumentRoot D:/www/shop/public/
    ServerName www.shop.com
    <Directory "D:/www/shop/public/">
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
    </Directory>
    </VirtualHost>
本作品採用《CC 協議》,轉載必須註明作者和本文連結