Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I got this vps which has FC2 and wanted to know the service status.
Code:
root@server [/]# service httpd status
Not Found
The requested URL /server-status was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an
ErrorDocument to handle the request.
_________________________________________________________________
Apache/1.3.34 Server at server.domain.com Port 80
root@server [/]#
By default server-status is not enabled, you have to uncomment the lines in your http configuration file (/etc/apache/httpd.conf on my machine).
404 error so your apache is alive
Don't mix the directory where the configuration files are and the directory where the apache binary are.
On debian, its at its place (etc/apache or etc/apache2) but on others flavours.. don't know (/etc/httpd?):
- This is a problem - now that I got control over it, how do I get rid of Apache 1.3.34 and have all these files removed ?
I want to do this because I got to install Apache 2.0.58 instead - this server is new and no sites exists - but somebody tried isntalling something and ended up the older versions.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.