From a9d145061a40f3d601634b58076095dd65608557 Mon Sep 17 00:00:00 2001 From: Eli Gundry Date: Sat, 6 Aug 2011 20:00:37 -0400 Subject: [PATCH] Added apache snippets for commonly used apache code blocks. --- snippets/apache.snippets | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 snippets/apache.snippets 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} +