LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-09-2009, 06:12 AM   #1
uks
Member
 
Registered: Jul 2007
Posts: 72

Rep: Reputation: 16
Apache server-status


Hi

I have an Apache server which has a server name,for ex, xxx. So if I type https://xxx.com/server-status I get to that screen where the status is shown.
So far so good.

But I need to use the ip address of this machine to view the same page and I am not permitted to do that like this:

https://192.168.78.78/server-status

Any idea how to go about this ?


Rgds
 
Old 03-09-2009, 06:36 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,175
Blog Entries: 1

Rep: Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042
Open httpd.conf, find the <Location /server-status> section and add in the "Allow from .." line the hosts, IPs or subnets you want to be able to see server-status.

Regards
 
Old 03-09-2009, 06:37 AM   #3
eco
Member
 
Registered: May 2006
Location: BE
Distribution: Debian/Gentoo
Posts: 412

Rep: Reputation: 48
Hi,

If you are using debian, you should probably add the IP to status.conf.

If not, look for the security settings for server-status and add the IP there
 
Old 03-09-2009, 07:31 AM   #4
uks
Member
 
Registered: Jul 2007
Posts: 72

Original Poster
Rep: Reputation: 16
Hi, I think I am not clear enough here, sorry about that.

The ip address of server xxx=192.168.78.78
So I am able to see the page https://xxx.com/server-status but not the page https://192.168.78.78/server-status

Rgds
 
Old 03-09-2009, 09:21 AM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Looks like you have a name based virtual host configured, and you want an IP based virtual host instead ...

http://httpd.apache.org/docs/2.0/vhosts/
 
Old 03-09-2009, 02:23 PM   #6
sureshsujatha
Member
 
Registered: Mar 2009
Posts: 40

Rep: Reputation: 15
Quote:
Originally Posted by uks View Post
Hi, I think I am not clear enough here, sorry about that.

The ip address of server xxx=192.168.78.78
So I am able to see the page https://xxx.com/server-status but not the page https://192.168.78.78/server-status

Rgds

Were u able to resolve this issue ???

Last edited by sureshsujatha; 03-14-2009 at 12:28 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache server-status ilnli Linux - Software 0 07-11-2007 08:32 PM
Apache server status and page refreshes thetawaverider Linux - Server 1 05-22-2007 11:35 PM
Apache server-status help javamdk Linux - Networking 4 03-27-2005 08:45 PM
Apache server-status help javamdk Ubuntu 1 03-27-2005 05:53 AM
apache monitoring problems- server-status?? lucastic Linux - Networking 0 08-10-2003 06:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration