On 20/10/12 13:55, Ralph Corderoy wrote:
Hi Tim,

I am lost with this bit, simply copying the above command returns
nothing, it just sits there until I press ctrl-c. I tried changing the
ip to 127 0.1.1. which is what is in my /etc/host file for the PC name
(see my previous reply 15/10/12 7:31am)
And what happened when you changed it to 127.0.1.1?

The same as above, nothing is returned

As to other IP I not sure which ones I should try or how to find it, I
don't really understand "`inet' listed in `ip address show', e.g.
127.0.0.1 " part of your reply (I am not a cli type of guy).
Running `ip address show' gives output that includes lines starting with
the word `inet' followed by the IPv4 address, e.g.

     inet 127.0.0.1/8 scope host lo
mit@vulcan ~ $ ip address show
1: lo: <LOOPBACK> mtu 16436 qdisc noop state DOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 54:04:a6:a5:12:4e brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.55/24 brd 192.168.0.255 scope global eth1
    inet6 fe80::5604:a6ff:fea5:124e/64 scope link
       valid_lft forever preferred_lft forever

So then I tried

mit@vulcan ~ $ sudo  printf 'GET / HTTP/1.0\r\n\r\n' | nc 192.168.0.55 80

and nothing happens, it just sat there until I pressed ctrl-c


All I am asking apache to do is to be able to show a web page on my
network at home, I am not interested in doing anything fancy as such
Arguably, running PHP or any code to generate the web page is "fancy".
:-)
:p
as the idea is to only view a page to ensure it looks correct and give
other on my network the same option (which they can do, it just does
not work on my pc).
Have you any "firewall" type stuff installed on this machine, something
that may have been configured to allow TCP port 80 access from the LAN?

Firestarter was installed but I never enabled it and un-installed it soon after the installing the distro
All I have done is install apache, I have made no changes to an config
files. I have done this in the past on serveral different PC's and it
has worked out of the box so to speak.
You said you'd done more:  "I simply accessed then via
http://127.0.0.1/mywebpage.  Yesterday I installed phpmyadmin (intending
to play with mysql) and when I tried to access it I was unable to.
Further test showed that I can't even access the Apache default index
page."  Was it known to be working right before phpmyadmin was
installed?
As far as I can remember yes

Tim

--
Next meeting:  Bournemouth, Tuesday, 2012-11-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:[email protected]
How to Report Bugs Effectively:  http://goo.gl/4Xue

Reply via email to