mavericks

How to setup virtualhost in Mac OS X 10.9.1 Maverick

Submitted by admin on Thu, 02/06/2014 - 21:06

In case you are not using MAMP, you might need this tip whether if you want to avoid the killer "Forbidden" message when you try to access to document root :)

1. Go to

<code>
sudo nano /etc/apache2/httpd.conf
</code>

and uncomment line number 478

<code>
Include /private/etc/apache2/extra/httpd-vhosts.conf
</code>

2. Go to

/etc/apache2/extra/httpd-vhosts.conf

y put something like

Etiquetas