mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
.vhost as an Apache extension
This commit is contained in:
@@ -149,6 +149,7 @@ ApacheConf:
|
|||||||
extensions:
|
extensions:
|
||||||
- .apacheconf
|
- .apacheconf
|
||||||
- .conf
|
- .conf
|
||||||
|
- .vhost
|
||||||
tm_scope: source.apache-config
|
tm_scope: source.apache-config
|
||||||
ace_mode: apache_conf
|
ace_mode: apache_conf
|
||||||
|
|
||||||
|
|||||||
17
samples/ApacheConf/apache.vhost
Normal file
17
samples/ApacheConf/apache.vhost
Normal 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>
|
||||||
Reference in New Issue
Block a user