Skip to content

Commit fe98c11

Browse files
committed
changed vhost.conf.master
1 parent 5a95973 commit fe98c11

File tree

1 file changed

+4
-80
lines changed

1 file changed

+4
-80
lines changed

server/conf/vhost.conf.master

Lines changed: 4 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -47,30 +47,11 @@
4747
Options +Includes
4848
</tmpl_if>
4949
<tmpl_if name='php' op='==' value='no'>
50-
<Files ~ '.php$'>
50+
<Files ~ '.php[s3-6]{0,1}$'>
5151
Order allow,deny
5252
Deny from all
5353
Allow from none
5454
</Files>
55-
<Files ~ '.php3$'>
56-
Order allow,deny
57-
Deny from all
58-
Allow from none
59-
</Files>
60-
<Files ~ '.php4$'>
61-
Order allow,deny
62-
Deny from all
63-
Allow from none
64-
</Files>
65-
<Files ~ '.php5$'>
66-
Order allow,deny
67-
Deny from all
68-
Allow from none
69-
</Files>
70-
<Files ~ '.phps'>
71-
Order deny,allow
72-
Allow from all
73-
</Files>
7455
</tmpl_if>
7556
</Directory>
7657
<Directory {tmpl_var name='web_document_root'}>
@@ -86,30 +67,11 @@
8667
Options +Includes
8768
</tmpl_if>
8869
<tmpl_if name='php' op='==' value='no'>
89-
<Files ~ '.php$'>
70+
<Files ~ '.php[s3-6]{0,1}$'>
9071
Order allow,deny
9172
Deny from all
9273
Allow from none
9374
</Files>
94-
<Files ~ '.php3$'>
95-
Order allow,deny
96-
Deny from all
97-
Allow from none
98-
</Files>
99-
<Files ~ '.php4$'>
100-
Order allow,deny
101-
Deny from all
102-
Allow from none
103-
</Files>
104-
<Files ~ '.php5$'>
105-
Order allow,deny
106-
Deny from all
107-
Allow from none
108-
</Files>
109-
<Files ~ '.phps'>
110-
Order deny,allow
111-
Allow from all
112-
</Files>
11375
</tmpl_if>
11476
</Directory>
11577

@@ -226,30 +188,11 @@
226188
Options +Includes
227189
</tmpl_if>
228190
<tmpl_if name='php' op='==' value='no'>
229-
<Files ~ '.php$'>
191+
<Files ~ '.php[s3-6]{0,1}$'>
230192
Order allow,deny
231193
Deny from all
232194
Allow from none
233195
</Files>
234-
<Files ~ '.php3$'>
235-
Order allow,deny
236-
Deny from all
237-
Allow from none
238-
</Files>
239-
<Files ~ '.php4$'>
240-
Order allow,deny
241-
Deny from all
242-
Allow from none
243-
</Files>
244-
<Files ~ '.php5$'>
245-
Order allow,deny
246-
Deny from all
247-
Allow from none
248-
</Files>
249-
<Files ~ '.phps'>
250-
Order deny,allow
251-
Allow from all
252-
</Files>
253196
</tmpl_if>
254197
</Directory>
255198
<Directory {tmpl_var name='web_document_root'}>
@@ -265,30 +208,11 @@
265208
Options +Includes
266209
</tmpl_if>
267210
<tmpl_if name='php' op='==' value='no'>
268-
<Files ~ '.php$'>
211+
<Files ~ '.php[s3-6]{0,1}$'>
269212
Order allow,deny
270213
Deny from all
271214
Allow from none
272215
</Files>
273-
<Files ~ '.php3$'>
274-
Order allow,deny
275-
Deny from all
276-
Allow from none
277-
</Files>
278-
<Files ~ '.php4$'>
279-
Order allow,deny
280-
Deny from all
281-
Allow from none
282-
</Files>
283-
<Files ~ '.php5$'>
284-
Order allow,deny
285-
Deny from all
286-
Allow from none
287-
</Files>
288-
<Files ~ '.phps'>
289-
Order deny,allow
290-
Allow from all
291-
</Files>
292216
</tmpl_if>
293217
</Directory>
294218

0 commit comments

Comments
 (0)