#1  
Old 26th December 2010, 16:50
Captain Captain is offline
Senior Member
 
Join Date: Feb 2009
Posts: 280
Thanks: 77
Thanked 6 Times in 5 Posts
Question Vhosts_ispconfig configuration

Hello!

How I can configure Vhosts_ispconfig.conf?
I want to add this directive to each user in vhost_config.conf
Code:
<IfModule mod_php5.c>
    php_admin_value open_basedir "/var/www/web3/:/tmp/"
</IfModule>
When I do this, after some time this file becomes as default without my modifications.

Thnks.
Reply With Quote
Sponsored Links
  #2  
Old 26th December 2010, 17:04
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,421
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

Add the code in the apache directives field of the websites instead. Do not modify Vhosts_ispconfig.conf manually.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 26th December 2010, 22:03
Captain Captain is offline
Senior Member
 
Join Date: Feb 2009
Posts: 280
Thanks: 77
Thanked 6 Times in 5 Posts
Default

where I can find this file?

I need to add this directive to each client.
For exmp:
for web3 client:
Code:
<IfModule mod_php5.c>
    php_admin_value open_basedir "/var/www/web3/:/tmp/"
</IfModule>
for web5 client:
Code:
<IfModule mod_php5.c>
    php_admin_value open_basedir "/var/www/web5/:/tmp/"
</IfModule>
P.S. I have Ubuntu 10.04.1 and ISPConfig2 final.
Reply With Quote
  #4  
Old 27th December 2010, 21:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
 
Default

On the "Basis" tab of each web site in ISPConfig 2, you can find a text area called "Apache Directives" where you can put your custom directives.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
Captain (28th December 2010)
Reply

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
Freeradius and Mysql uvstudios HOWTO-Related Questions 4 19th February 2014 12:11
All my mail is going to /var/mail/vmail _sluimers_ Installation/Configuration 21 10th January 2011 13:21
FreeRadius + MySQL working, but I don't know how to customise SQL queries awe Installation/Configuration 4 4th April 2010 23:28
squirrelmail and postfix witoszek General 12 1st December 2009 18:07
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15


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


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