Here is the workaround that I did to re-enable my own site. To make it safe, make sure to make a copy of /etc/apache2/httpd.conf before modifying anything.
(1) Open terminal, switch to root:
$ sudo su -(2) Go to /etc/apache2/users/:
$ cd /etc/apache2/users $ ls(3) I found one file Guest.conf. I copy the file into another file (in this case I am using my own user name: chn.conf), and edit the directory location to my Site location in "/Users/chn/Sites":
$ cp Guest.conf chn.conf $ vi chn.confIt looks like this after the modification:
<Directory "/Users/chn/Sites/"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory>(4) Let apache load PHP module, by editing the httpd.conf:
$ vi /etc/apache2/httpd.confSearch for the following line:
#LoadModule php5_module libexec/apache2/libphp5.soand remove the remark "#" in the beginning of the line so it looks like this:
LoadModule php5_module libexec/apache2/libphp5.so(5) Restart the apache service by the following command:
$ apachectl restartNow I can access my own homepage again.
That's all :)