Skip to content

Commit 3f51aac

Browse files
committed
Merge pull request #10 from KaoruToda/patch-1
Could you please add some directives.
2 parents 281c851 + 096fdb1 commit 3f51aac

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

neosnippets/apache.snip

+28
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,31 @@ snippet dir
2020
${0}
2121
</Directory>
2222

23+
snippet ifmodule
24+
<IfModule ${1:module_name}>
25+
${2}
26+
</IfModule>
27+
28+
snippet if
29+
<If ${1:condition}>
30+
${2}
31+
</If>
32+
33+
snippet RemoteIPHeader
34+
RemoteIPHeader X-Forwarded-For
35+
36+
snippet location
37+
<Location ${1:location}>
38+
${2:config}
39+
</Location>
40+
41+
snippet locationmatch
42+
<LocationMatch "${1:regex}">
43+
${2:config}
44+
</LocationMatch>
45+
46+
snippet directoryindex
47+
DirectoryIndex index.php index.html
48+
49+
snippet require
50+
Require all granted

0 commit comments

Comments
 (0)