.vhost as an Apache extension

This commit is contained in:
Paul Chaignon
2015-03-06 21:19:28 +01:00
parent 0157b9eb37
commit 17f75e64ba
2 changed files with 18 additions and 0 deletions

View File

@@ -149,6 +149,7 @@ ApacheConf:
extensions:
- .apacheconf
- .conf
- .vhost
tm_scope: source.apache-config
ace_mode: apache_conf

View File

@@ -0,0 +1,17 @@
#######################
# HOSTNAME
######################
<VirtualHost 127.0.0.1:PORT>
ServerAdmin patrick@heysparkbox.com
DocumentRoot "/var/www/HOSTNAME"
ServerName HOSTNAME
<Directory "/var/www/HOSTNAME">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
DirectoryIndex index.php
</Directory>
</VirtualHost>