Created
October 20, 2013 22:12
-
-
Save johnzuh/7076013 to your computer and use it in GitHub Desktop.
My vhosts setting
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
# Use name-based virtual hosting. | |
# | |
NameVirtualHost *:80 | |
# | |
# VirtualHost example: | |
# Almost any Apache directive may go into a VirtualHost container. | |
# The first VirtualHost section is used for all requests that do not | |
# match a ServerName or ServerAlias in any <VirtualHost> block. | |
# | |
<VirtualHost *:80> | |
VirtualDocumentRoot "/Library/WebServer/Documents/TYPO3-Neos/Web/" | |
ServerName neos.dev | |
<Directory /document/root/> | |
Options -Indexes FollowSymLinks MultiViews | |
AllowOverride All | |
Order deny,allow | |
SetEnv CONTEXT Development | |
SetEnv FLOW_CONTEXT Development | |
php_admin_flag display_errors 1 | |
</Directory> | |
</VirtualHost> | |
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
DocumentRoot "/opt/local/apache2/docs/dummy-host.example.com" | |
ServerName dummy-host.example.com | |
ServerAlias www.dummy-host.example.com | |
ErrorLog "logs/dummy-host.example.com-error_log" | |
CustomLog "logs/dummy-host.example.com-access_log" common | |
</VirtualHost> | |
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
DocumentRoot "/opt/local/apache2/docs/dummy-host2.example.com" | |
ServerName dummy-host2.example.com | |
ErrorLog "logs/dummy-host2.example.com-error_log" | |
CustomLog "logs/dummy-host2.example.com-access_log" common | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NameVirtualHost *:80
<VirtualHost *:80>
VirtualDocumentRoot "/Library/WebServer/Documents/TYPO3-Neos/Web/"
ServerName neos.dev