Macでバーチャルホストを構築するメモ
httpd.confを編集
$sudo vi /etc/apache2/httpd.conf
下記の行のコメントを外す
Include /private/etc/apache2/extra/httpd-vhosts.conf
httpd-vhosts.confを編集
$ sudo vi /etc/apache2/extra/httpd-vhosts.conf
追記
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName localhost
DocumentRoot /Library/WebServer/Documents
<Directory /Library/WebServer/Documents>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName resume_parse_manager.test.com
DocumentRoot /Users/kdfliuser/Zend/workspaces/resume_parse_manager/Public
<Directory /Users/kdfliuser/Zend/workspaces/resume_parse_manager>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
</Directory>
</VirtualHost>