LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache server-status (https://www.linuxquestions.org/questions/linux-software-2/apache-server-status-710218/)

uks 03-09-2009 06:12 AM

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

bathory 03-09-2009 06:36 AM

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

eco 03-09-2009 06:37 AM

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

uks 03-09-2009 07:31 AM

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

farslayer 03-09-2009 09:21 AM

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/

sureshsujatha 03-09-2009 02:23 PM

Quote:

Originally Posted by uks (Post 3469569)
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 ???


All times are GMT -5. The time now is 07:40 AM.