OS X Marvericでローカルweb server

http://qiita.com/tsumekoara/items/d4e25eedfc22900b5487

 

sudo apachectl start
sudo vim /etc/apache2/users/username.conf

<Directory "/Users/(自分のusername)/Sites/">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
$ mkdir ~/Sites
$ sudo apachectl configtest
$ sudo apacehctl restart

Leave a Reply