Re: A question about configuring Apache Http Server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux