Skip to content

Commit 6565b82

Browse files
author
redray
committed
Changed the path to the /tmp dir
Had some problems with SSI, so i also changed the Options-Part
1 parent e035056 commit 6565b82

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

server/conf/vhost.conf.master

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,17 @@
2525
</tmpl_if>
2626

2727
<Directory {tmpl_var name='web_document_root_www'}>
28-
Options None
28+
Options FollowSymLinks Indexes
2929
AllowOverride Indexes AuthConfig Limit FileInfo
3030
Order allow,deny
3131
Allow from all
32+
<tmpl_if name='ssi' op='==' value='y'>
33+
34+
# ssi enabled
35+
AddType text/html .shtml
36+
AddOutputFilter INCLUDES .shtml
37+
Options +Includes
38+
</tmpl_if>
3239
</Directory>
3340

3441
<tmpl_if name='cgi' op='==' value='y'>
@@ -37,11 +44,6 @@
3744
AddHandler cgi-script .cgi
3845
AddHandler cgi-script .pl
3946
</tmpl_if>
40-
<tmpl_if name='ssi' op='==' value='y'>
41-
# ssi enabled
42-
AddType text/html .shtml
43-
AddOutputFilter INCLUDES .shtml
44-
</tmpl_if>
4547
<tmpl_if name='suexec' op='==' value='y'>
4648
# suexec enabled
4749
SuexecUserGroup <tmpl_var name='system_user'> <tmpl_var name='system_group'>
@@ -68,7 +70,7 @@
6870
<Directory {tmpl_var name='web_document_root_www'}>
6971
AddHandler fcgid-script .php .php3 .php4 .php5
7072
FCGIWrapper <tmpl_var name='fastcgi_starter_path'><tmpl_var name='fastcgi_starter_script'> .php
71-
Options FollowSymLinks +ExecCGI Indexes
73+
Options +ExecCGI
7274
AllowOverride None
7375
Order allow,deny
7476
Allow from all
@@ -85,9 +87,9 @@
8587
<tmpl_if name='php' op='!=' value=''>
8688

8789
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@<tmpl_var name='domain'>"
88-
#php_admin_value open_basedir <tmpl_var name='web_document_root'>:/usr/share/php5
89-
#php_admin_value upload_tmp_dir <tmpl_var name='web_document_root'>/tmp
90-
#php_admin_value session.save_path <tmpl_var name='web_document_root'>/tmp
90+
#php_admin_value open_basedir <tmpl_var name='document_root'>:/usr/share/php5
91+
#php_admin_value upload_tmp_dir <tmpl_var name='document_root'>/tmp
92+
#php_admin_value session.save_path <tmpl_var name='document_root'>/tmp
9193
</tmpl_if>
9294
<tmpl_var name='apache_directives'>
9395
</VirtualHost>
@@ -170,9 +172,9 @@
170172
<tmpl_if name='php' op='!=' value=''>
171173

172174
php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@<tmpl_var name='domain'>"
173-
#php_admin_value open_basedir <tmpl_var name='web_document_root'>:/usr/share/php5
174-
#php_admin_value upload_tmp_dir <tmpl_var name='web_document_root'>/tmp
175-
#php_admin_value session.save_path <tmpl_var name='web_document_root'>/tmp
175+
#php_admin_value open_basedir <tmpl_var name='document_root'>:/usr/share/php5
176+
#php_admin_value upload_tmp_dir <tmpl_var name='document_root'>/tmp
177+
#php_admin_value session.save_path <tmpl_var name='document_root'>/tmp
176178
</tmpl_if>
177179

178180
</VirtualHost>

0 commit comments

Comments
 (0)