Skip to content

Commit 4bd4f2a

Browse files
committed
Merge pull request hestiacp#272 from zapalm/master
updated apache template 'basedir'
2 parents 242ac15 + 40b34fd commit 4bd4f2a

File tree

6 files changed

+18
-6
lines changed

6 files changed

+18
-6
lines changed

install/debian/templates/web/apache2/basedir.stpl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
AllowOverride All
1616
SSLRequireSSL
1717
Options +Includes -Indexes +ExecCGI
18-
php_admin_value open_basedir %docroot%
18+
php_admin_value open_basedir %docroot%:%home%/%user%/tmp
19+
php_admin_value upload_tmp_dir %home%/%user%/tmp
20+
php_admin_value session.save_path %home%/%user%/tmp
1921
</Directory>
2022
<Directory %home%/%user%/web/%domain%/stats>
2123
AllowOverride All

install/debian/templates/web/apache2/basedir.tpl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
<Directory %docroot%>
1515
AllowOverride All
1616
Options +Includes -Indexes +ExecCGI
17-
php_admin_value open_basedir %docroot%
17+
php_admin_value open_basedir %docroot%:%home%/%user%/tmp
18+
php_admin_value upload_tmp_dir %home%/%user%/tmp
19+
php_admin_value session.save_path %home%/%user%/tmp
1820
</Directory>
1921
<Directory %home%/%user%/web/%domain%/stats>
2022
AllowOverride All

install/rhel/templates/web/httpd/basedir.stpl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
AllowOverride All
1616
SSLRequireSSL
1717
Options +Includes -Indexes +ExecCGI
18-
php_admin_value open_basedir %docroot%
18+
php_admin_value open_basedir %docroot%:%home%/%user%/tmp
19+
php_admin_value upload_tmp_dir %home%/%user%/tmp
20+
php_admin_value session.save_path %home%/%user%/tmp
1921
</Directory>
2022
<Directory %home%/%user%/web/%domain%/stats>
2123
AllowOverride All

install/rhel/templates/web/httpd/basedir.tpl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
<Directory %docroot%>
1515
AllowOverride All
1616
Options +Includes -Indexes +ExecCGI
17-
php_admin_value open_basedir %docroot%
17+
php_admin_value open_basedir %docroot%:%home%/%user%/tmp
18+
php_admin_value upload_tmp_dir %home%/%user%/tmp
19+
php_admin_value session.save_path %home%/%user%/tmp
1820
</Directory>
1921
<Directory %home%/%user%/web/%domain%/stats>
2022
AllowOverride All

install/ubuntu/templates/web/apache2/basedir.stpl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
AllowOverride All
1616
SSLRequireSSL
1717
Options +Includes -Indexes +ExecCGI
18-
php_admin_value open_basedir %docroot%
18+
php_admin_value open_basedir %docroot%:%home%/%user%/tmp
19+
php_admin_value upload_tmp_dir %home%/%user%/tmp
20+
php_admin_value session.save_path %home%/%user%/tmp
1921
</Directory>
2022
<Directory %home%/%user%/web/%domain%/stats>
2123
AllowOverride All

install/ubuntu/templates/web/apache2/basedir.tpl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
<Directory %docroot%>
1515
AllowOverride All
1616
Options +Includes -Indexes +ExecCGI
17-
php_admin_value open_basedir %docroot%
17+
php_admin_value open_basedir %docroot%:%home%/%user%/tmp
18+
php_admin_value upload_tmp_dir %home%/%user%/tmp
19+
php_admin_value session.save_path %home%/%user%/tmp
1820
</Directory>
1921
<Directory %home%/%user%/web/%domain%/stats>
2022
AllowOverride All

0 commit comments

Comments
 (0)