Estoy usando Mac OS X 10.6.8 y estoy intentando configurar un vHost. Lo configuré y me dio un 403 Prohibido, y tengo problemas para darle a _www permiso para leer / escribir en ~ / Document / workspace / dev
enlace
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
#ServerName www.example.com:80
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/Library/WebServer/Documents"
También me aseguré de descomentar la inclusión en esto:
# Virtual hosts
Include /private/etc/apache2/extra/httpd-vhosts.conf
Y definí estos vHosts en httpd-vhosts.conf
<VirtualHost *:80>
DocumentRoot "/Library/WebServer/Documents"
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "/Users/isaacbeckett/Documents/workspace/dev"
ServerName isaac.local
ErrorLog "/private/var/log/apache2/isaac.local-error_log"
CustomLog "/private/var/log/apache2/isaac.local-access_log" common
<Directory "/Users/isaac/Documents/workspace/dev">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Y aquí está mi archivo / etc / hosts:
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
127.0.0.1 isaac.local
He vaciado el caché local con dscacheutil -flushcache
Varias veces y probé chmod 755 ~/Documents
también, pero no tuve éxito. ¿Puede alguien ayudarme a resolver esto?