Op Tue, 22 Feb 2005 12:55:26 +0000 schreef Derek Jennings:

Hi Derek,

>Compare your setup to mine
>/etc/squirrelmail/config.php
>/etc/httpd/2.0/conf/vhosts/Vhosts.conf

I looked at and changed my config to match yours.
Still no joy. When I load the main page, in the httpd access_log I see:

84.29.253.52 - - [22/Feb/2005:16:45:42 +0100] "GET /squirrel HTTP/1.1"
301 462 "http://nwyfre.homelinux.net/menu.php"; "Mozilla/5.0 (X11; U;
Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0"

That looks okay, it comes in through the external IP (84.29.253.52). But
when I click on to Squirrelmail, I see this happen:

192.168.0.2 - - [22/Feb/2005:16:45:42 +0100] "GET /squirrel/ HTTP/1.1"
302 14 "http://nwyfre.homelinux.net/menu.php"; "Mozilla/5.0 (X11; U;
Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0"
192.168.0.2 - - [22/Feb/2005:16:45:42 +0100] "GET /favicon.ico HTTP/1.1"
404 432 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041107 Firefox/1.0"
192.168.0.2 - - [22/Feb/2005:16:45:42 +0100] "GET
/squirrel/src/login.php HTTP/1.1" 200 2148
"http://nwyfre.homelinux.net/menu.php"; "Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0"

Things are taken over by the internal IP and take it from there.

It gets really interesting when I fire up an old box I have around with
Win98. I use the linux machine as a gateway, and when I call
nwyfre.homelinux.net with the win98 thing I see it immediately is
serviced by the linuxmachine over the internal IP:

192.168.0.1 - - [22/Feb/2005:16:59:49 +0100] "GET / HTTP/1.1" 200 251
"-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; MSOCD; AtHomeEN191)"
192.168.0.1 - - [22/Feb/2005:16:59:50 +0100] "GET /menu.php HTTP/1.1"
200 713 "http://nwyfre.homelinux.net"; "Mozilla/4.0 (compatible; MSIE
6.0; Windows 98; MSOCD; AtHomeEN191)"

And when I click on to Sq. on the win-thing I see that it keeps going on
the local machine:

192.168.0.1 - - [22/Feb/2005:17:00:45 +0100] "GET
/squirrel/images/sm_logo.png HTTP/1.1" 304 -
"http://nwyfre.merlijn/squirrel/src/login.php"; "Mozilla/4.0 (compatible;
MSIE 6.0; Windows 98; MSOCD; AtHomeEN191)"
 
But then I tried getting to www.nwyfre.homelinux.net through the
win-thing and that did *not* work! I had set my virtualhost in Apache to
www.nwyfre..etc as per your example. Now I dropped all the www.'s,
restarted Apache, and things look a lot different all of a sudden.
IExploiter lets me see the Sq. login screen (Url says
http://nwyfre.homelinux.net/squirrel/src) and lets me login and see my
e-mail. (Url remains the homelinux reference.)

This seems to work! I'll have a go at this again from work tomorrow.
Thanks!!
And I'll go after ddclient as soon as I can also. :-)

Paul


-- 
Beelzebug (n.): Satan in the form of a mosquito that gets into your
bedroom at three in the morning and cannot be cast out.

http://www.nlpagan.net/linux.php
Have you visited http://twiki.mdklinuxfaq.org yet?

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to