Skip to content

Commit cee6f9f

Browse files
author
Till Brehm
committed
Removed numbers from PHP config tokens in apache vhost template.
1 parent 04092a9 commit cee6f9f

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

server/conf/vhost.conf.master

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -252,16 +252,16 @@
252252
</tmpl_if>
253253
<tmpl_if name='php' op='==' value='cgi'>
254254
# 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
257257
<Directory {tmpl_var name='web_document_root_www'}>
258258
<FilesMatch "\.php[345]?$">
259-
SetHandler php5-cgi
259+
SetHandler php-cgi
260260
</FilesMatch>
261261
</Directory>
262262
<Directory {tmpl_var name='web_document_root'}>
263263
<FilesMatch "\.php[345]?$">
264-
SetHandler php5-cgi
264+
SetHandler php-cgi
265265
</FilesMatch>
266266
</Directory>
267267
<Directory {tmpl_var name='cgi_starter_path'}>
@@ -346,21 +346,21 @@
346346
</Directory>
347347
<Directory {tmpl_var name='web_document_root_www'}>
348348
<FilesMatch "\.php[345]?$">
349-
SetHandler php5-fcgi
349+
SetHandler php-fcgi
350350
</FilesMatch>
351351
</Directory>
352352
<Directory {tmpl_var name='web_document_root'}>
353353
<FilesMatch "\.php[345]?$">
354-
SetHandler php5-fcgi
354+
SetHandler php-fcgi
355355
</FilesMatch>
356356
</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'}
359359
<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
361361
</tmpl_if>
362362
<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
364364
</tmpl_if>
365365
</IfModule>
366366
<IfModule mod_proxy_fcgi.c>
@@ -468,7 +468,7 @@
468468
</tmpl_if>
469469
<tmpl_if name="rewrite_is_url" op="==" value="n">
470470
RewriteCond %{REQUEST_URI} !^/webdav/
471-
RewriteCond %{REQUEST_URI} !^/php5-fcgi/
471+
RewriteCond %{REQUEST_URI} !^/php-fcgi/
472472
RewriteCond %{REQUEST_URI} !^<tmpl_var name='rewrite_target'>
473473
</tmpl_if>
474474

0 commit comments

Comments
 (0)