[Gllug] Configuring apache to accept connections
Mark Preston
mark at markpreston.co.uk
Tue May 22 23:01:43 UTC 2007
Hi Chris,
Re:
> Your network is not working. Either the address is
> wrong, or the machine is not able to talk to that address because it's
> not on the same network.
>
> Fix that before you think about apache :)
This advice turns out to be right on the money.
An ifconfig command showed only eth0 running.
vi /etc/network/interfaces showed
E325: ATTENTION
Found a swap file by the name "/etc/network/.interfaces.swp"
owned by: root dated: Sun Mar 11 22:01:24 2007
This showed I had edited this file to include lo a couple of months ago,
but not saved it. Mental note to install emacs asap.
ifconfig lo 127.0.0.1 got the loopback working and now I get the Apache
page with Hey, it worked !
The SSL/TLS-aware Apache webserver was
successfully installed on this website.
FWIW I'm hoping to get PHP and MySQL going shortly. I've been using a
Sidux Chaos hard disk installation and I'm very impressed with it's
abilities on hardware detection. It runs a scanner, a Seagate tape
drive, an internal zip disk, a DVD rewriter, a SATA hard drive, a couple
of printers, a floppy disk, usb sticks, some speakers and now Apache as
well. All pretty standard stuff for the gurus on this list, but the
first time for me :-).
> any reason why 1.3 from source? ;)
This is suggested in the book Core Web Application Development with PHP
and MySQL by Marc Wandschneider, but I've just followed the link he gave
as reasons:
http://www.php.net/manual/en/faq.installation.php
and there isn't much logic to this. Maybe I'll install Apache2 as well
which I was using in a previous hard disk installation called Paipix on
this PC.
Thank you Chris and Tethys for your help in solving this problem.
--
Regards,
Mark Preston
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list