最近在Mac上配置环境,发现出现了一堆问题,Mac版本是10.10,配置文件如下,apache版本是2.4
ServerAdmin [email protected]
DocumentRoot "/Users/yanzhen/Desktop/group_live_client"
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
ServerName live.nibaguai.com
ErrorLog "/private/var/log/apache2/live.nibaguai.com-error_log"
CustomLog "/private/var/log/apache2/live.nibaguai.com-access_log" common
如何查看apache的版本号:
apachectl -v就可以了