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 08:53:54 GMT

>A more comfortable way to test your webserver from your commandline is with
the curl or wget command (every linux distribution has them, i prefer curl)

>So do for example:
>curl http://localhost
>or
>wget http://localhost

>on the machine where your apache is running.

When I entered "curl http://localhost" I got:

curl: (7) socket error: 111

When I entered "wget http://localhost" I got:

--10:47:07--  http://localhost/
           => `index.html'
Resolving localhost... 127.0.0.1

But strangely on this machine there is already another configuration for
"web-mycompany-test.com" and it works. :) I did the same configuration but
failed. :(


>>From your earlier posts I get that apache runs, but that the webserver
doesn answer connection attempts. That is probably a firewall issue.

>Redhat Linux comes with it's own firewall, and it is probably this what is
blocking you. You need to enable port 80. I don't have a RH machine
available right now to test this, so you'll have to look this up yourself in
the documentation.

I shut down the firewall with "service iptables stop". I got the same error.

-- 
View this message in context: http://www.nabble.com/A-question-about-configuring-Apache-Http-Server-tp25382056p25397353.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