Apache虚拟主机配置,访问时403
的有关信息介绍如下:httpd.conf第一步:注销,如下样式:#DocumentRoot "C:/myenv/apache/htdocs"第二步:启动虚拟主机的配置,如下样式:Include conf/extra/httpd-vhosts.conf第三步:配置httpd-vhosts.conf,增加如下样式: DocumentRoot "D:/myblog2" ServerName seophp.example.com DirectoryIndex test.html index.html index.htm index.php Options FollowSymLinks#AllowOverride None 不许可别人修改我们的页面 AllowOverride None Order allow,deny Allow from all