|
252 | 252 | </tmpl_if> |
253 | 253 | <tmpl_if name='php' op='==' value='cgi'> |
254 | 254 | # php as cgi enabled |
255 | | - ScriptAlias /php5-cgi <tmpl_var name='cgi_starter_path'><tmpl_var name='cgi_starter_script'> |
256 | | - Action php5-cgi /php5-cgi |
| 255 | + ScriptAlias /php-cgi <tmpl_var name='cgi_starter_path'><tmpl_var name='cgi_starter_script'> |
| 256 | + Action php-cgi /php-cgi |
257 | 257 | <Directory {tmpl_var name='web_document_root_www'}> |
258 | 258 | <FilesMatch "\.php[345]?$"> |
259 | | - SetHandler php5-cgi |
| 259 | + SetHandler php-cgi |
260 | 260 | </FilesMatch> |
261 | 261 | </Directory> |
262 | 262 | <Directory {tmpl_var name='web_document_root'}> |
263 | 263 | <FilesMatch "\.php[345]?$"> |
264 | | - SetHandler php5-cgi |
| 264 | + SetHandler php-cgi |
265 | 265 | </FilesMatch> |
266 | 266 | </Directory> |
267 | 267 | <Directory {tmpl_var name='cgi_starter_path'}> |
|
346 | 346 | </Directory> |
347 | 347 | <Directory {tmpl_var name='web_document_root_www'}> |
348 | 348 | <FilesMatch "\.php[345]?$"> |
349 | | - SetHandler php5-fcgi |
| 349 | + SetHandler php-fcgi |
350 | 350 | </FilesMatch> |
351 | 351 | </Directory> |
352 | 352 | <Directory {tmpl_var name='web_document_root'}> |
353 | 353 | <FilesMatch "\.php[345]?$"> |
354 | | - SetHandler php5-fcgi |
| 354 | + SetHandler php-fcgi |
355 | 355 | </FilesMatch> |
356 | 356 | </Directory> |
357 | | - Action php5-fcgi /php5-fcgi virtual |
358 | | - 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'} |
| 357 | + Action php-fcgi /php-fcgi virtual |
| 358 | + Alias /php-fcgi {tmpl_var name='document_root'}/cgi-bin/php-fcgi-{tmpl_var name='ip_address'}-{tmpl_var name='port'}-{tmpl_var name='domain'} |
359 | 359 | <tmpl_if name='use_tcp'> |
360 | | - FastCgiExternalServer {tmpl_var name='document_root'}/cgi-bin/php5-fcgi-{tmpl_var name='ip_address'}-{tmpl_var name='port'}-{tmpl_var name='domain'} -idle-timeout 300 -host 127.0.0.1:<tmpl_var name='fpm_port'> -pass-header Authorization -pass-header Content-Type |
| 360 | + FastCgiExternalServer {tmpl_var name='document_root'}/cgi-bin/php-fcgi-{tmpl_var name='ip_address'}-{tmpl_var name='port'}-{tmpl_var name='domain'} -idle-timeout 300 -host 127.0.0.1:<tmpl_var name='fpm_port'> -pass-header Authorization -pass-header Content-Type |
361 | 361 | </tmpl_if> |
362 | 362 | <tmpl_if name='use_socket'> |
363 | | - FastCgiExternalServer {tmpl_var name='document_root'}/cgi-bin/php5-fcgi-{tmpl_var name='ip_address'}-{tmpl_var name='port'}-{tmpl_var name='domain'} -idle-timeout 300 -socket <tmpl_var name='fpm_socket'> -pass-header Authorization -pass-header Content-Type |
| 363 | + FastCgiExternalServer {tmpl_var name='document_root'}/cgi-bin/php-fcgi-{tmpl_var name='ip_address'}-{tmpl_var name='port'}-{tmpl_var name='domain'} -idle-timeout 300 -socket <tmpl_var name='fpm_socket'> -pass-header Authorization -pass-header Content-Type |
364 | 364 | </tmpl_if> |
365 | 365 | </IfModule> |
366 | 366 | <IfModule mod_proxy_fcgi.c> |
|
468 | 468 | </tmpl_if> |
469 | 469 | <tmpl_if name="rewrite_is_url" op="==" value="n"> |
470 | 470 | RewriteCond %{REQUEST_URI} !^/webdav/ |
471 | | - RewriteCond %{REQUEST_URI} !^/php5-fcgi/ |
| 471 | + RewriteCond %{REQUEST_URI} !^/php-fcgi/ |
472 | 472 | RewriteCond %{REQUEST_URI} !^<tmpl_var name='rewrite_target'> |
473 | 473 | </tmpl_if> |
474 | 474 |
|
|
0 commit comments