Click to See Complete Forum and Search --> : How to get access to Apache


JunkDrawStuff
02-13-2010, 07:03 AM
I have Linux, I visit the http://127.0.0.1 and get It works! message.

PHP is also installed as I have had several updates for it.

I want to set up a test server on my PC but can not see how I am supposed to configure it, I install the rapache program but that does not help one bit.

I tried to look on the ubuntu site and trying to any useful information is hard at best, most of the threads I found either pointed people to Apache site which is equally as confusing or the threads were dead or referred to an old version of apache.

I tried a straigh connection using FTP to 127.0.0.1 using my login and password but nothing, all I get is... Status: Connecting to 127.0.0.1:21...
Status: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
Error: Could not connect to server
Status: Waiting to retry...

So how do I access it?

Thx.

Fang
02-17-2010, 05:26 AM
Probably the router's firewall is blocking you.
This article is for Windows with a Netgear router, but the general principles will be the same for all systems.
http://lifehacker.com/software/feature/geek-to-live-how-to-access-a-home-server-behind-a-routerfirewall-127276.php
http://www.boutell.com/newfaq/creating/hostmyown.html

javen123
03-11-2010, 04:26 AM
Hi It is very important to get Apache server status. It will help you to identify that what is happening inside your web server.
The Status module allows a server administrator to find out how well their server is performing. A HTML page is presented that gives the current server statistics in an easily readable form. If required this page can be made to automatically refresh (given a compatible browser). Another page gives a simple machine-readable list of the current server state.
The details given are:
• The number of worker serving requests
• The number of idle worker
• The status of each worker, the number of requests that worker has performed and the total number of bytes served by the worker (*)
• A total number of accesses and byte count served (*)
• The time the server was started/restarted and the time it has been running for
• Averages giving the number of requests per second, the number of bytes served per second and the average number of bytes per request (*)
• The current percentage CPU used by each worker and in total by Apache (*)
• The current hosts and requests being processed (*)
How to Configure Apache to get Real time Serrver Status
There is only a minimal configuration required for enabling Apache server status, just open your httpd.conf file
and find for mod_status, just uncomment the lines shown in the below pic.

Please remember to give your ip address in the place of allow from filed.
Once you have done the above configuration do the following config in apache httpd.conf file as shown below. This setting is for getting detailed report

Once you have done this settings just open a browser and type like shown as below
yourserver.com/server-status

I hope you will do this.

All the best

javen123

__________________
msds compliance (http://www.msdscompliance.com/msds_compliance.php)

JunkDrawStuff
03-13-2010, 12:45 PM
Hi, thanks for the replies, I shall look at this over the weekend assuming I get some time to!