Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos Postfix/MySQL/Courier HowTo issues... sfunk1x HOWTO-Related Questions 1 24th September 2009 07:46
Which XEN howto is recommended for webhosting? Hans HOWTO-Related Questions 2 29th June 2009 18:23
Group-office howto, problems with remote smtp-auth CyD HOWTO-Related Questions 1 1st April 2009 20:44
Howto: Set Up A Loadbalanced High-Availability Apache Cluster PeterBiggerstaff HOWTO-Related Questions 7 13th April 2007 16:13
HowTo Add Mailfiltering to the Falko howto Postfix Guide rockwilda HOWTO-Related Questions 15 20th October 2006 15:40


All times are GMT +2. The time now is 06:34.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.