 |
Linode.com Forum Linode Community Forums
|
| Author |
Message |
rhunter007
Joined: 24 Jul 2003
Posts: 22
|
| Posted: Thu Oct 30, 2003 1:13 am Post subject: 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
Code:
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. |
|
| Back to top |
|
mikegrb
Joined: 16 Oct 2003
Posts: 264
Location: Dr Wierd's Lab, South Jersey Shore
|
| Posted: Thu Oct 30, 2003 1:49 am Post subject: |
|
|
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 |
|
| Back to top |
|
adamgent
Joined: 23 Jun 2003
Posts: 261
|
| Posted: Thu Oct 30, 2003 6:52 am Post subject: |
|
|
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 |
|
| Back to top |
|
| |
|