Re: A question about configuring Apache Http Server

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

 



>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@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