Created
February 13, 2013 01:48
-
-
Save gaspanik/4842129 to your computer and use it in GitHub Desktop.
httpd-vhosts-sample.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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