From 17f75e64baa9e446182627f94a0debda872b6b49 Mon Sep 17 00:00:00 2001 From: Paul Chaignon Date: Fri, 6 Mar 2015 21:19:28 +0100 Subject: [PATCH] .vhost as an Apache extension --- lib/linguist/languages.yml | 1 + samples/ApacheConf/apache.vhost | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 samples/ApacheConf/apache.vhost diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 5a841087..01c98820 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -149,6 +149,7 @@ ApacheConf: extensions: - .apacheconf - .conf + - .vhost tm_scope: source.apache-config ace_mode: apache_conf diff --git a/samples/ApacheConf/apache.vhost b/samples/ApacheConf/apache.vhost new file mode 100644 index 00000000..eb602121 --- /dev/null +++ b/samples/ApacheConf/apache.vhost @@ -0,0 +1,17 @@ +####################### +# HOSTNAME +###################### + + + ServerAdmin patrick@heysparkbox.com + DocumentRoot "/var/www/HOSTNAME" + ServerName HOSTNAME + + + Options Indexes MultiViews FollowSymLinks + AllowOverride All + Order allow,deny + Allow from all + DirectoryIndex index.php + +