Questions about console and apachectl

Hi all,

Firstly, does it matter if I start my Apache webserver (Red Hat 9 Large install) thru regular ssh, or thru the console utility?

Secondly, why do I get the following when I type:

root% apachectl status

Object not found!

          The  requested URL was not found on this server. If you entered
          the URL manually please check your spelling and try again.

          If  you  think  this  is  a  server  error,  please contact the
          [1]webmaster

Error 404

    [2]localhost
    Thu 30 Oct 2003 01:10:24 AM EST
    Apache/2.0.40 (Red Hat Linux)

References

   1\. mailto:root@localhost
   2\. http://localhost/

Thanks for the help.

2 Replies

There should not be a difference starting apache from the console or ssh.

As for the status problem, apachectl fires up some sort of browser (internal, or lynx I'm not sure) and goes to the url http://localhost/status, or something very similiar. This relys on a status handler being installed for this url. Most likely it isn't. For a first step you might check the apache config files. There is a high probability that this is already in the config file just commented out. Try opening it up in your favorite editor and searching for 'status'. If it is there and commented out, uncomment it and restart apache.

Sorry this isn't more detailed. If you still don't have success let me know and I will look at some docs and see if I can't help you out further.

Michael

The status handler is usual commented out by default or locked down to localhost as it can create some security problems.

Although it is very useful for trying to work out why a site is running slow.

Adam

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct