File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Snippets for code blocks used oftenly in Apache files.
2
+ # <Directory>
3
+ snippet dir
4
+ <Directory ${1: / } >
5
+ DirectoryIndex ${2: index.html }
6
+ Order Deny,Allow
7
+ Deny from All
8
+ </Directory>
9
+ # <FilesMatch>
10
+ snippet filesmatch
11
+ <FilesMatch "${1: regex } ">
12
+ ${2}
13
+ </FilesMatch>
14
+ # <IfModule>
15
+ snippet ifmodule
16
+ <IfModule ${1: mod_example.c } >
17
+ ${2}
18
+ </IfModule>
19
+ # <LimitExcept>
20
+ snippet limitexcept
21
+ <LimitExcept ${1: POST GET } >
22
+ ${2}
23
+ </LimitExcept>
24
+ # <Proxy>
25
+ snippet proxy
26
+ <Proxy ${1: * } >
27
+ ${2}
28
+ </Proxy>
29
+ # <VirtualHost>
30
+ snippet virtualhost
31
+ <VirtualHost ${1: * } :${2: 80 } >
32
+ ServerAdmin
${3: [email protected] }
33
+ DocumentRoot ${4: /www/example.com }
34
+ ServerName ${5: www.example.com }
35
+ </VirtualHost>
You can’t perform that action at this time.
0 commit comments