标签:file 新建 xampp admin 环境 host symlink bsp conf
1, 安装PHP+apach+mysql(xampp)
添加如下内容:
Include etc/extra/httpd-xampp.conf
Include "/Applications/XAMPP/xamppfiles/apache2/conf/httpd.conf"
Include "/Users/wuzeguo/workspace/www_conf/*"
ServerAdmin webmaster@dummy-host.localhost
#项目地址
DocumentRoot /Users/wuzeguo/workspace/hani
directoryIndex index.html index.php index.htm index.shtml login.php
ServerName www.hani.com
ErrorLog "logs/mhd_error.log"
CustomLog "logs/mhd_error_common.log" common
<Directory /Users/wuzeguo/workspace/hani>
Options FollowSymLinks Indexes
AllowOverride all
#Order allow,deny
#Allow from all
Require all granted
</Directory>
</VirtualHost>
标签:file 新建 xampp admin 环境 host symlink bsp conf
原文地址:http://www.cnblogs.com/qianlizeguo/p/6834577.html