With Macintosh OSX 10.8, personal web sharing has been removed from the Sharing System Preference.
Create the file /usr/local/zend/apache2/conf.d/macintosh_pws.conf
# Settings for user home directories
# Required module: mod_userdir
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received. Note that you must also set
# the default access control for these directories, as in the example below.
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Allow from all
<LimitExcept GET POST OPTIONS>
Deny from all
By default, the Zend Server listens on port 10088, the
line, tells the server to also listen on the default http port of 80.
The rest of the code is a slightly modified version of the personal web sharing build into Apache ( located in conf/extra/httpd-userdir.conf ). I've changed the linux default of 'public_html' to 'Sites'.
Restart Zend's Apache server:
$ sudo /usr/local/zend/bin/zendctl.sh restart-apache
And you should be able to visit your website at http://localhost/~username