File tree Expand file tree Collapse file tree 1 file changed +80
-1
lines changed
Expand file tree Collapse file tree 1 file changed +80
-1
lines changed Original file line number Diff line number Diff line change 212212<tmpl_if name='has_bundle_cert'>
213213 SSLCACertificateFile <tmpl_var name='document_root'>/ssl/<tmpl_var name='domain'>.bundle
214214</tmpl_if>
215+
216+ <Directory {tmpl_var name='web_document_root_www'}>
217+ Options FollowSymLinks
218+ AllowOverride Indexes AuthConfig Limit FileInfo
219+ Order allow,deny
220+ Allow from all
221+ <tmpl_if name='ssi' op='==' value='y'>
222+
223+ # ssi enabled
224+ AddType text/html .shtml
225+ AddOutputFilter INCLUDES .shtml
226+ Options +Includes
227+ </tmpl_if>
228+ <tmpl_if name='php' op='==' value='no'>
229+ <Files ~ '.php$'>
230+ Order allow,deny
231+ Deny from all
232+ Allow from none
233+ </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>
253+ </tmpl_if>
254+ </Directory>
255+ <Directory {tmpl_var name='web_document_root'}>
256+ Options FollowSymLinks
257+ AllowOverride Indexes AuthConfig Limit FileInfo
258+ Order allow,deny
259+ Allow from all
260+ <tmpl_if name='ssi' op='==' value='y'>
261+
262+ # ssi enabled
263+ AddType text/html .shtml
264+ AddOutputFilter INCLUDES .shtml
265+ Options +Includes
266+ </tmpl_if>
267+ <tmpl_if name='php' op='==' value='no'>
268+ <Files ~ '.php$'>
269+ Order allow,deny
270+ Deny from all
271+ Allow from none
272+ </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>
292+ </tmpl_if>
293+ </Directory>
215294
216295<tmpl_if name='cgi'op='==' value='y'>
217296 # cgi enabled
239318<tmpl_if name='php' op='==' value='suphp'>
240319 # suphp enabled
241320 suPHP_Engine on
242- suPHP_UserGroup <tmpl_var name='system_user'> <tmpl_var name='system_group'>
321+ # suPHP_UserGroup <tmpl_var name='system_user'> <tmpl_var name='system_group'>
243322 AddHandler x-httpd-php .php .php3 .php4 .php5
244323 suPHP_AddHandler x-httpd-php
245324</tmpl_if>
You can’t perform that action at this time.
0 commit comments