Skip to content

Instantly share code, notes, and snippets.

@sfss5362
Created November 7, 2015 15:15
Show Gist options
  • Save sfss5362/a178c79b8020bb944539 to your computer and use it in GitHub Desktop.
Save sfss5362/a178c79b8020bb944539 to your computer and use it in GitHub Desktop.
# filename: httpd-vhosts.conf
<Directory ../vhosts>
AllowOverride All
Order allow,deny
Allow from all
</Directory>
NameVirtualHost *
<VirtualHost *>
DocumentRoot ../htdocs
ServerName default:80
ErrorLog logs/default-error_log
</VirtualHost>
<VirtualHost *>
<Directory "../vhosts/ss.com">
Options -Indexes FollowSymLinks
</Directory>
ServerAdmin admin@ss.com
DocumentRoot "../vhosts/ss.com"
ServerName ss.com:80
ServerAlias *.ss.com
ErrorLog logs/ss.com-error_log
php_admin_value open_basedir "D:\php_runtime\vhosts\ss.com;C:\Windows\Temp;"
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment