Old 14th September 2008, 21: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


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?

Paul Peelen
Reply With Quote
Sponsored Links
Old 15th September 2008, 14:12
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

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.
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


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 19:03
add web site serr57 Installation/Configuration 18 13th April 2008 12:40
CENTOS 5 Ping Problem gAnDo Server Operation 11 28th March 2008 21:58
apache directive per folder bplgonzo Installation/Configuration 2 19th August 2007 14:35
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 01:45

All times are GMT +2. The time now is 13:49.

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