2015-11-24

MAMP 的 Apache httpd-vhosts.conf 設定


#
# Use name-based virtual hosting.
#
NameVirtualHost *:80

<Directory "/Users/shinder/Dropbox/my_proj">
    Options       All
    AllowOverride All
    Order         allow,deny
    Allow         from all
</Directory>

<VirtualHost *:80>
    DocumentRoot "/Users/shinder/Dropbox/my_proj"
    ServerName   my_proj.shinder
    ErrorLog     "logs/my_proj-error.log"
    CustomLog    "logs/my_proj-access.log" common
</VirtualHost>

沒有留言:

FB 留言