Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th March 2010, 06:45
wpwood3 wpwood3 is offline
Senior Member
 
Join Date: Oct 2007
Location: Atlanta, GA USA
Posts: 197
Thanks: 21
Thanked 31 Times in 21 Posts
Question web folder privileges are getting reset by ISPConfig

I have munin installed on my ISPConfig3 box with output directed to this folder:
Code:
/var/www/clients/client1/web1/web/monitor
munin will not write anything to the monitor folder unless the parent folder, web, has chmod 0755 permissions.

The problem is that ISPConfig3 keeps setting the permissions for the parent folder back to 0710. This happens whenever any changes are made in the ISPConfig3 admin control panel to that web domain.

What to do?
__________________
CentOS 5.4 64bit (the Perfect Setup)
ISPConfig 2.2.40
WP3 Photography
Reply With Quote
Sponsored Links
  #2  
Old 29th March 2010, 18:24
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,995
Thanks: 840
Thanked 5,647 Times in 4,457 Posts
Default

There are several options:

a) Create a custom vhost file in the sites enabled folder for munin.
b) Use a subfolder within the apps vhost for munin (/var/www/apps)
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
wpwood3 (29th March 2010)
  #3  
Old 29th March 2010, 23:17
wpwood3 wpwood3 is offline
Senior Member
 
Join Date: Oct 2007
Location: Atlanta, GA USA
Posts: 197
Thanks: 21
Thanked 31 Times in 21 Posts
Post My solution

Thanks for your quick reply, Till. You got me pointed in the right direction.

Here's what I did. Please let me know if you see any problems with my approach.

Create a new Apache config file for munin:
Code:
 
vi /etc/httpd/conf.d/munin.conf
Insert the following lines into the file:
Code:
 
Alias /munin /var/www/munin
<Directory "/var/www/munin">
    Options Indexes
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>
Restart Apache:
Code:
 
/etc/init.d/httpd restart
Create a new folder and give ownership to munin:
Code:
 
mkdir /var/www/munin
chown -R munin:munin /var/www/munin
Edit the munin config file to point to the new folder:
Code:
 
vi /etc/munin/munin.conf
change htmldir to point to /var/www/munin:
Code:
 
htmldir /var/www/munin
Secure /var/www/munin with .htaccess

Now I can access munin from http://www.mytestsite.com/munin
__________________
CentOS 5.4 64bit (the Perfect Setup)
ISPConfig 2.2.40
WP3 Photography
Reply With Quote
  #4  
Old 29th March 2010, 23:59
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,995
Thanks: 840
Thanked 5,647 Times in 4,457 Posts
 
Default

I dont see any problems with that, except that you have now a /munin/ url for every site on your server. Not sure if thats intended.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
How to get files stored in web folder listed in the web browser bhwong Installation/Configuration 13 30th November 2009 09:02
ISPConfig 3.0.1 released till General 36 29th March 2009 15:30
ISPConfig is installed properly, but not sure about Ispconfig web IPAddress, .... kieran@cloughhall Installation/Configuration 2 22nd October 2008 11:49
Page not found on ISPCONFIG web Philip_Anselmo Installation/Configuration 3 28th March 2006 11:37
FTP access to web files in ISPConfig Rocky Installation/Configuration 14 9th November 2005 00:17


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


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