Apache /server-status

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Apache /server-status
# 1  
Old 01-18-2002
Apache /server-status


Where is the script for /server-status handler located? Can i change code of the script somehow?

Thank you all
# 2  
Old 01-18-2002
In Apache/bin you will find apachectl:

usage: apachectl(start|stop|restart|fullstatus|status|graceful|configtest|help)

start - start httpd
startssl - start httpd with SSL enabled
stop - stop httpd
restart - restart httpd if running by sending a SIGHUP or start if
not running
fullstatus - dump a full status screen; requires lynx and mod_status enabled
status - dump a short status screen; requires lynx and mod_status enabled
graceful - do a graceful restart by sending a SIGUSR1 or start if not running
configtest - do a configuration syntax test
help - this screen
# 3  
Old 01-18-2002
Isn't the actual program located in mod_status.so? So you would have to download the apache source, modify it and recompile.
# 4  
Old 01-22-2002
I may have missed something - if we're referring to the apachectl program, it's simply a script. Edit away, but be careful not to change anything too much on a production system.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Display status of instances in apache - Where to start

Hello, I know this is not a simple question so I just need to know where to start for below project: I am running under Ubuntu 18.04 What I'd like to see in apache page is to display status of particular process pids. ps aux | grep keywords.txt keywords.txt word1 word2 word3 word4... (9 Replies)
Discussion started by: baris35
9 Replies

2. Red Hat

CPU high - apache real server OK, virtual server not

Got two RHEL servers - one real and one virtual/cloud. Both run apache web server. When traffic is applied, CPU seems to go quite high on virtual one (20%) but real is not really affected. Worry is that a further increase in traffic will see a problem. Experience of RHEL is limited. Whats... (2 Replies)
Discussion started by: psychocandy
2 Replies

3. Programming

Problem with Perl script after moving from a Windows/Apache Server to a UNIX server.

I have a Perl script that worked fine before moving it to justhost.com. It was on a Windows/Apache server. Just host is using UNIX. Other Perl scripts on other sites that were also moved work fine so I know Perl is functioning. The script is called cwrmail.pl and is located in my cgi-bin. When I... (9 Replies)
Discussion started by: BigBobbyB
9 Replies

4. UNIX for Dummies Questions & Answers

302 server status code to 301/404 server status code

Hello, Sorry for my english. I have an arcade site. mydomain.com/game.html If database has the game name is good. mydomain.com/fd43f54.html if database has not the game name redirect to mydomain.com by 302 error code. if database has not the game name i want a 301/404 error code and no... (0 Replies)
Discussion started by: hoo
0 Replies

5. Programming

Apache & nfs status from c++ application

Hello guys, I have just started building a high-available site using ubuntu server 9.10. I am using moodle. The thing is that i want to write an application using curses, to show the status of the apache servers, mysql servers and the nfs server. I can check the mysql from the c api, but how can... (1 Reply)
Discussion started by: pegasus001
1 Replies

6. Web Development

Apache mod status buggy?

My problem is whenever I run mod status to capture the amount of byte count served I am getting 100+ gig of byte count! in 10 minutes! But when I try to filter the apache log and count the byte count served in the same time stamp within 12 hours, it computes to less than 103 MB only Just an... (0 Replies)
Discussion started by: 3rr0r_3rr0r
0 Replies

7. UNIX for Dummies Questions & Answers

Apache Server

I have a question concerning the log file from an apache web server. How can I : a) roughly estimate the number of requests processed per second by the web server. b) tally the top ten hosts who send most of the requests to the web server for the last 30 minutes. Could any... (1 Reply)
Discussion started by: ppychu
1 Replies

8. UNIX for Dummies Questions & Answers

Apache Server

I Don't speak english very good... i'm new to unix. I have Win98SE and Apache for win32 Pentium MMX-166MHz 200MB Free Apache/1.3.20 (Win32) PHP/4.0.6 My url is my ip and i want to get domain exsample "www.cfir.co.il" so i want to get UNIX. i want to get standard UNIX server not... (4 Replies)
Discussion started by: cfir
4 Replies
Login or Register to Ask a Question