Skip to content

Instantly share code, notes, and snippets.

@gaspanik
Created February 13, 2013 01:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gaspanik/4842129 to your computer and use it in GitHub Desktop.
Save gaspanik/4842129 to your computer and use it in GitHub Desktop.
httpd-vhosts-sample.conf
NameVirtualHost *:80
<Directory "/Users/ユーザー名/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