|
179 | 179 | </IfModule> |
180 | 180 | </tmpl_if> |
181 | 181 | # Clear PHP settings of this website |
182 | | - <FilesMatch "\.ph(p3?|tml)$"> |
| 182 | + <FilesMatch ".+\.ph(p[345]?|t|tml)$"> |
183 | 183 | SetHandler None |
184 | 184 | </FilesMatch> |
185 | 185 | <tmpl_if name='php' op='==' value='mod'> |
|
250 | 250 | <Directory {tmpl_var name='web_document_root_www'}> |
251 | 251 | AddHandler fcgid-script .php .php3 .php4 .php5 |
252 | 252 | FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php |
| 253 | + FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php3 |
| 254 | + FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php4 |
| 255 | + FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php5 |
253 | 256 | Options +ExecCGI |
254 | 257 | AllowOverride <tmpl_var name='allow_override'> |
255 | 258 | <tmpl_if name='apache_version' op='>' value='2.2' format='version'> |
|
262 | 265 | <Directory {tmpl_var name='web_document_root'}> |
263 | 266 | AddHandler fcgid-script .php .php3 .php4 .php5 |
264 | 267 | FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php |
| 268 | + FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php3 |
| 269 | + FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php4 |
| 270 | + FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php5 |
265 | 271 | Options +ExecCGI |
266 | 272 | AllowOverride <tmpl_var name='allow_override'> |
267 | 273 | <tmpl_if name='apache_version' op='>' value='2.2' format='version'> |
|
282 | 288 | Allow from all |
283 | 289 | </tmpl_if> |
284 | 290 | </Directory> |
285 | | - AddHandler php5-fcgi .php |
| 291 | + AddHandler php5-fcgi .php .php3 .php4 .php5 |
286 | 292 | Action php5-fcgi /php5-fcgi |
287 | 293 | Alias /php5-fcgi {tmpl_var name='document_root'}/cgi-bin/php5-fcgi-{tmpl_var name='ip_address'}-{tmpl_var name='port'}-{tmpl_var name='domain'} |
288 | 294 | <tmpl_if name='use_tcp'> |
|
0 commit comments