#1  
Old 14th September 2008, 20:45
ppeelen ppeelen is offline
Junior Member
 
Join Date: Sep 2007
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default TIP: Apache directive

Hi,

I just wanted to share a minor change I made after having problems using the apache directive for sites in my ISPConfig.

What I wanted to be able to do is add open_basedir rights to one site to be able to access files for another site.
I added this in the apache directive textarea, but this didn't work though this is included directly into the beginning of the <Virtualhost>, which means that ISPConfig lateron overwrites this value with the standard open_basedir configuration.

What I did was: In the file /root/ispconfig/isp/conf/vhost.conf.master I moved {HTTPD_INCLUDE} from the beginning of the <Virtualhost> to just before the <if module...> part. Now I can overwrite the settings ISPConfig sets directly thue the ISPConfig GUI.

I don't really know how "dangerous" this is for other with potentionally more resellers/admins, but for me it's allright. Someone else here might know this better than me and might be able to reply on this thread?

Cheers,
Paul Peelen
Reply With Quote
Sponsored Links
  #2  
Old 15th September 2008, 13:12
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

I'd copy your customized /root/ispconfig/isp/conf/vhost.conf.master to the /root/ispconfig/isp/conf/customized_templates/ directory so that it won't be overwritten when you upgrade ISPConfig the next time.
__________________
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
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
Proftpd + MySQL virtual users, can't connect geekman HOWTO-Related Questions 28 27th September 2010 18:03
add web site serr57 Installation/Configuration 18 13th April 2008 11:40
CENTOS 5 Ping Problem gAnDo Server Operation 11 28th March 2008 20:58
apache directive per folder bplgonzo Installation/Configuration 2 19th August 2007 13:35
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 00:45


All times are GMT +2. The time now is 08:31.


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