Skip to content

Commit c257ab1

Browse files
committed
Fixed suphp directives in vhost.conf.master template for ssl hosts.
1 parent 11169ce commit c257ab1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

server/conf/vhost.conf.master

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,11 +252,10 @@
252252
#php_admin_value open_basedir <tmpl_var name='document_root'>:/usr/share/php5
253253
</tmpl_if>
254254
<tmpl_if name='php' op='==' value='suphp'>
255-
# suphp enabled
256255
suPHP_Engine on
257256
# suPHP_UserGroup <tmpl_var name='system_user'> <tmpl_var name='system_group'>
258-
AddHandler x-httpd-php .php .php3 .php4 .php5
259-
suPHP_AddHandler x-httpd-php
257+
AddHandler x-httpd-suphp .php .php3 .php4 .php5
258+
suPHP_AddHandler x-httpd-suphp
260259
</tmpl_if>
261260
<tmpl_if name='php' op='==' value='cgi'>
262261
# php as cgi enabled

0 commit comments

Comments
 (0)