Mac OS X で Apache

システム環境設定 - 共有 - Web共有 をオンにする。これで Apache が起動。
http://127.0.0.1/ にアクセスできるか確認。


Apache のバージョンの確認

apachectl -V
Server version: Apache/2.2.8 (Unix)	


Apacheを再起動

sudo apachectl restart


configtest

apachectl configtest


httpd.conf は /etc/apache2/ に、ログは /var/log/apache2/ にある。
あとは他の OS での Apache と同じ。