来源:未知 时间:2014-06-23 13:41 作者:xbdadmin 阅读:次
[导读] 首先,在httpd.conf下开启虚拟主机功能 找到配置项 # Virtual hosts #Include /Applications/XAMPP/etc/extra/httpd-vhosts.conf 修改为 # Virtual hosts Include /Applications/XAMPP/etc/extra/httpd-vhosts.conf 开发时,httpd-v...
首先,在httpd.conf下开启虚拟主机功能 找到配置项
# Virtual hosts 修改为 # Virtual hosts Include /Applications/XAMPP/etc/extra/httpd-vhosts.conf
开发时,httpd-vhosts.conf可以参考如下配置 <VirtualHost *:80> ServerAdmin fudesign2008@163.com DocumentRoot "F:\workspace\vim\YNote\src" ServerName editor.fuyg.cn ServerAlias editor.fuyg.cn ErrorLog "logs/dummy-host.localhost-error.log" CustomLog "logs/dummy-host.localhost-access.log" combined <Directory "F:\workspace\vim\YNote\src"> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> |
自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习
京ICP备14009008号-1@版权所有www.zixuephp.com
网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com