arozwalak
3/27/2014 - 7:27 PM

Sublime: Virtual Host Snippet

Sublime: Virtual Host Snippet

<snippet>
    <content><![CDATA[
<VirtualHost *:80>
    DocumentRoot "${1:project_path}"
    ServerName ${2:project_domain}
    <Directory "${1:project_path}">
        Options Indexes FollowSymLInks
        AllowOverride all
        Deny from all
        Allow from 127.0.0.0/8
        Allow from 192.168.0.0/16
    </Directory>
</VirtualHost>
]]></content>
<tabTrigger>vhost</tabTrigger>
    <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
    <!-- <tabTrigger>hello</tabTrigger> -->
    <!-- Optional: Set a scope to limit where the snippet will trigger -->
    <!-- <scope>source.python</scope> -->
</snippet>