View Single Post
  #1  
Old 6th November 2010, 12:35
radim_h radim_h is offline
Senior Member
 
Join Date: Jan 2007
Location: Prague, Czech
Posts: 418
Thanks: 33
Thanked 24 Times in 19 Posts
Send a message via ICQ to radim_h
Default howto safemode off + basedir on ?

When i uncheck safemode for site , which means safemode = off
then also basedir directives as
php_admin_value open_basedir /var/www/webXXX/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /var/www/webXXX/phptmp/
php_admin_value session.save_path /var/www/webXXX/phptmp/
are gone from apache config file...
.
What should i change to have basedir directives in Vhosts_ispconfig.conf when safemode is Off as default

Eg
php_admin_flag safe_mode Off
php_admin_value open_basedir /var/www/webXXX/
php_admin_value file_uploads 1
php_admin_value upload_tmp_dir /var/www/webXXX/phptmp/
php_admin_value session.save_path /var/www/webXXX/phptmp/

I tried to find it somewhere in templates in /root/ispconfig/isp/conf but haven't find

Now i'm solving situatuon by adding basedir directive in Apache config field in ISPC, but i'd like to turn safemode off for all sites (about 250), so this is bad solution

Any hint please ??

Last edited by radim_h; 6th November 2010 at 18:18.
Reply With Quote
Sponsored Links