diff --git a/snippets/apache.snippets b/snippets/apache.snippets new file mode 100644 index 0000000..a9e53e1 --- /dev/null +++ b/snippets/apache.snippets @@ -0,0 +1,35 @@ +# Snippets for code blocks used oftenly in Apache files. +# +snippet dir + + DirectoryIndex ${2:index.html} + Order Deny,Allow + Deny from All + +# +snippet filesmatch + + ${2} + +# +snippet ifmodule + + ${2} + +# +snippet limitexcept + + ${2} + +# +snippet proxy + + ${2} + +# +snippet virtualhost + + ServerAdmin ${3:webmaster@example.com} + DocumentRoot ${4:/www/example.com} + ServerName ${5:www.example.com} +