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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st December 2008, 00:58
chillifire chillifire is offline
HowtoForge Supporter
 
Join Date: Oct 2007
Posts: 75
Thanks: 3
Thanked 3 Times in 3 Posts
Default Howto enable apache server-status for ISPConfig

Hi, I wanted to enable apache server-status through mod_status while running under ISPConfig. I needed that to show not just whether the acpache server was up, but also how long it was up. For this purpose I added the following directives to the site definition in ISPConfig
Code:
<Location /server-status> SetHandler server-status Order Deny, Allow Deny from all Allow from login02.chillifire.net </Location>
However, when I access http://login02.chillifire.net/server-status, I get a 403, access denied error The same when I replace with
Code:
<Location /server-status> SetHandler server-status Order Deny, Allow Deny from none </Location>
This gives me the same error. I checked the directory and all things seem to be owned by web1_admin:web1, as you would expect. Except when I go to /var/www I get the following files:
Code:
-rw-r--r-- 1 root root 45 May 2 2008 index.html drwxr-xr-x 3 root root 4096 Mar 3 2008 localhost drwxr-xr-x 3 root root 4096 Dec 18 00:30 localhost.localdomain lrwxrwxrwx 1 root root 13 Feb 28 2008 login02.chillifire.net -> /var/www/web1 drwxr-xr-x 2 root root 4096 May 27 2008 sharedip drwxr-xr-x 8 web1_admin web1 4096 Dec 21 12:29 web1
I tried to
Code:
chown web1_admin:web1 login02.chillifire.net
as root,, but the system executes the command without error - oly to leave this symlink owned by root:root. That is as far as my Linux knowledge carries me and I am out of ideas how to overcome this 403 issue. I have Ubuntu 8.10 machines, running ISPConfig 2.2.23 and relating apache2 versions. Any hints welcome. Thanks
Reply With Quote
The Following User Says Thank You to chillifire For This Useful Post:
bpatrickmittle222 (24th July 2013)
Sponsored Links
  #2  
Old 21st December 2008, 01:52
Leszek Leszek is offline
Senior Member
 
Join Date: Nov 2006
Location: Poland,Włocławek
Posts: 369
Thanks: 22
Thanked 42 Times in 35 Posts
Send a message via Skype™ to Leszek
Default

Undo everything You've done so far and enter:
Code:
a2enmod status
and restart Apache:
Code:
/etc/init.d/apache2 restart
Now You should see this module working. By default it's bound to 127.0.0.1 so You can't see it from anywhere else. Take a look at status.conf in /etc/apache2/mods-available to adjust it's settings.
Reply With Quote
The Following 2 Users Say Thank You to Leszek For This Useful Post:
bpatrickmittle222 (21st July 2013), chillifire (21st December 2008)
  #3  
Old 21st December 2008, 05:26
chillifire chillifire is offline
HowtoForge Supporter
 
Join Date: Oct 2007
Posts: 75
Thanks: 3
Thanked 3 Times in 3 Posts
 
Default Thanks

The status module was already enabled. I obviously did not make myself clear enough.

But I did find the relevant config is actually in status.conf, and thus does not need to go into the additional site directives in ISPconfig.

Problem solved
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
Problems with my 'Perfect Server' chillifire Server Operation 3 6th January 2010 12:26
Installation -- pcre_exec.c:403: internal compiler error: Segmentation fault zerman Installation/Configuration 2 23rd September 2008 23:58
mail delivered in mbox patfee Installation/Configuration 8 11th December 2007 13:58
Problem with keeping Apache alive bobeq Server Operation 3 29th November 2007 16:11
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 02:30


All times are GMT +2. The time now is 04:43.


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