httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomas2004 <thomas200...@yahoo.de>
Subject Re: [users@httpd] A question about configuring Apache Http Server
Date Fri, 11 Sep 2009 07:03:55 GMT

Sorry for the late reply. I am from Germany. As you replied my question I was
out of office. :)

Now return to your answer:

>Ok, let's start from there.
>First, let's see if Apache is running.
>When you enter the following command :

>netstat -pan | grep '\:80'

>it should at least show one line.  That line corresponds to the port on
which Apache should be listening. Toward the end of the line, should be the
name of the program, and it's  Process-ID.

Yes, I got the line which shows the Apache is listening. 
tcp        0      0 172.23.17.8:80              0.0.0.0:*                  
LISTEN      21625/httpd


>You call also try either one of those :
>ps -ef | grep httpd
>or
>ps -ef | grep apache

I tried both and got a long list such as following:
...
root     21625     1  0 Sep10 ?        00:00:00 /usr/sbin/httpd
apache   21628 21625  0 Sep10 ?        00:00:00 /usr/sbin/httpd
apache   21629 21625  0 Sep10 ?        00:00:00 /usr/sbin/httpd
apache   21630 21625  0 Sep10 ?        00:00:00 /usr/sbin/httpd
...

I think this means the Apache is running.

>Once you make sure that there is an Apache running, then you could try the
following :
>enter the command :
>telnet web-mycompany.com 80
>GET / HTTP/1.0

>(the second line above, you have to enter "blind", because there will be no
echo; the third line is just a "return")
>Do you get something ?

I got followings:
-bash: GET: command not found

But what do you mean "blind" to the second line?


-- 
View this message in context: http://www.nabble.com/A-question-about-configuring-Apache-Http-Server-tp25382056p25396048.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message