Run Default Apache in Mac (OS X)

Configuration to user folder

1. open /etc/apache2/httpd.conf. (run : sudo vi /etc/apache2/httpd.conf)
2. change DocumentRoot "/Library/WebServer/Documents" into DocumentRoot "{User Folder}" (DocumentRoot "/Users/myaccount/mysite")
3. change <Directory "/Library/WebServer/Documents"> into <Directory "{User Folder}"> (<Directory "/Users/myaccount/mysite">)
4. save httpd.conf and quit vi.

Apache Start Commands
sudo apachectl start
sudo apachectl stop
sudo apachectl restart

이 블로그의 인기 게시물

둘 중 누군가 그녀를 죽였다, 범인 해설

[MAC OS X] mds_stores 100% CPU usage

tips more on unity ...