my favorite

2010/02/22

Change default web root of Mac

Prerequisite : sudo privilege

Step 1 : modify /private/etc/apache2/httpd.conf
vi /private/etc/apache2/httpd.conf

Step 2 : change DocumentRoot to anywhere you want


Step 3 : restart apache
sudo httpd -k restart

No comments:

BIO

Taipei, GuTing, Taiwan

huang47 | personal

huang47 | personal