Skip to content

Commit 7273ce8

Browse files
committed
Wrapped the suphp directives in a directory directive.
1 parent cabd6f6 commit 7273ce8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/conf/vhost.conf.master

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,13 @@
4343
AddType application/x-httpd-php .php .php3 .php4 .php5
4444
</tmpl_if>
4545
<tmpl_if name='php' op='==' value='suphp'>
46+
<Directory <tmpl_var name='web_document_root'>/>
4647
# suphp enabled
4748
suPHP_Engine on
4849
# suPHP_UserGroup <tmpl_var name='system_user'> <tmpl_var name='system_group'>
4950
AddHandler x-httpd-php .php .php3 .php4 .php5
5051
suPHP_AddHandler x-httpd-php
52+
</Directory>
5153
</tmpl_if>
5254
<tmpl_if name='php' op='==' value='cgi'>
5355
# php as cgi enabled

0 commit comments

Comments
 (0)