View Single Post
  #3  
Old 4th September 2009, 20:33
mzerbe mzerbe is offline
Junior Member
 
Join Date: Dec 2008
Location: Bangkok, Thailand
Posts: 14
Thanks: 5
Thanked 0 Times in 0 Posts
Lightbulb SOLVED: Setting for a centralized Typo3 core

Thanks Till,

that was the hint I needed.

Rather then deleting something, I added something to /usr/local/ispconfig/server/conf/vhost.conf.master

Original File:
Code:
<tmpl_if name='php' op='==' value='mod'>
    # mod_php enabled
    AddType application/x-httpd-php .php .php3 .php4 .php5
    php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@<tmpl_var name='domain'>"       
    php_admin_value upload_tmp_dir <tmpl_var name='document_root'>/tmp
    php_admin_value session.save_path <tmpl_var name='document_root'>/tmp
<tmpl_if name='security_level' op='==' value='20'>
    php_admin_value open_basedir <tmpl_var name='document_root'>/web:<tmpl_var name='document_root'>/tmp:/usr/share/php5
Changes made: (scroll to right site in GREEN)
Code:
<tmpl_if name='php' op='==' value='mod'>
    # mod_php enabled
    AddType application/x-httpd-php .php .php3 .php4 .php5
    php_admin_value sendmail_path "/usr/sbin/sendmail -t -i -fwebmaster@<tmpl_var name='domain'>"       
    php_admin_value upload_tmp_dir <tmpl_var name='document_root'>/tmp
    php_admin_value session.save_path <tmpl_var name='document_root'>/tmp
<tmpl_if name='security_level' op='==' value='20'>
    php_admin_value open_basedir <tmpl_var name='document_root'>/web:<tmpl_var name='document_root'>/tmp:/usr/share/php5:/opt/typo3
That did the trick.

I guess, I will have to restore that change after each run of ispconfig_update.sh
Is there any possibility to have such settings in the server setup of a future version?
e.g. something like /opt/applications (where additional central components can be stored?)

Cheers
Mario
Reply With Quote