0
가상 호스트를 설정하려고하고 내가 무엇을 잘못하고 있는지 확신 할 수 없습니다. apachectl을 실행하면이 경고 메시지가 나타납니다.Mountain Lion apache vhost
$ sudo apachectl -t
httpd: Could not reliably determine the server's fully qualified domain name, using Johns-MacBook-Pro.local for ServerName
[Tue Apr 16 21:34:01 2013] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
Syntax OK
그래서 모든 일이 최고의 유령으로 되돌아 가고 있습니다. 여기에 아직 서버 이름을 정의하지 않았기 때문에 내 가상 호스트가,
<VirtualHost *:80>
DocumentRoot "/Users/jcostanzo/development/impress"
ServerName impress.local
ServerAlias impress.local
ErrorLog "/private/var/log/apache2/impress.local-error_log"
<Directory "/Users/jcostanzo/development/impress" >
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "/Users/jcostanzo/development/testsomething"
ServerName testing.local
ServerAlias testing.local
ErrorLog "/private/var/log/apache2/test.local-error_log"
<Directory "/Users/jcostanzo/development/testsomething" >
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>