http://localhost/
The files are shared in the filing system at -
/Library/WebServer/Documents/
~/Sites
folder in the User account.
username.conf
filed under:
/etc/apache2/users/If you don’t (very likely), then create one named by the short username of the account with the suffix
.conf
, it's location and
permissions/ownership is best tackled by using the Terminal:
[~/LPPbook(master)]$ ls -l /etc/apache2/users/ total 40 -rw-r--r-- 1 root wheel 143 15 feb 2010 casiano.conf
[~/LPPbook(master)]$ cat /etc/apache2/users/casiano.conf <Directory "/Users/casiano/Sites/"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory>
-rw-r--r-- 1 root wheel 298 Jun 28 16:47 username.conf
sudo apachectl restart
http://localhost/~username/
Casiano Rodriguez León 2015-01-07