From 823302458ec6c53455a3f34674415c43ce6a3187 Mon Sep 17 00:00:00 2001 From: "Vito G. Graffagnino" Date: Sun, 28 Aug 2022 12:24:01 +0100 Subject: Added snippets directory --- snippets/apache.snippets | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 snippets/apache.snippets (limited to 'snippets/apache.snippets') diff --git a/snippets/apache.snippets b/snippets/apache.snippets new file mode 100644 index 0000000..de5672c --- /dev/null +++ b/snippets/apache.snippets @@ -0,0 +1,35 @@ +# Snippets for code blocks used oftenly in Apache files. +# +snippet dir + + DirectoryIndex ${0:index.html} + Order Deny,Allow + Deny from All + +# +snippet filesmatch + + ${0:${VISUAL}} + +# +snippet ifmodule + + ${0:${VISUAL}} + +# +snippet limitexcept + + ${0:${VISUAL}} + +# +snippet proxy + + ${0:${VISUAL}} + +# +snippet virtualhost + + ServerAdmin ${3:webmaster@example.com} + DocumentRoot ${4:/www/example.com} + ServerName ${0:www.example.com} + -- cgit v1.2.3