Skip to content

Instantly share code, notes, and snippets.

@TerasawaShuhei
Created May 23, 2013 01:41
Show Gist options
  • Save TerasawaShuhei/5632244 to your computer and use it in GitHub Desktop.
Save TerasawaShuhei/5632244 to your computer and use it in GitHub Desktop.
httpd-vhosts-sample.conf
NameVirtualHost *:80
<Directory "/Users/shuuheyhey/Sites">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<VirtualHost _default_:80>
ServerName localhost
DocumentRoot /Library/WebServer/Documents
</VirtualHost>
# <VirtualHost *:80>
# ServerName domain.local
# DocumentRoot "/Users/自分のユーザー名/Sites/domain.local"
# DirectoryIndex index.html index.php
# CustomLog "/Users/自分のユーザー名/Sites/logs/domain.local-access_log" combined
# ErrorLog "/Users/自分のユーザー名/Sites/logs/domain.local-error_log"
# </VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment