getting Scamper to eat php
John Hinsley
jhinsley at telinco.co.uk
Tue Aug 21 16:16:18 UTC 2001
Duane Maxwell wrote:
>
> John -
>
> I just tried Scamper to view my own site, which is PHP-based and it seems to
> work just fine. I'm using Squeak 3.1 #4173 (yes, I know....).
Well, I had the same problem with #4173, too, so.....
>
> If you like, you can try http://www.lovebreeze.com/site/loginmember.php3 to
> verify. Don't let the big scary jpeg image frighten you.
Works fine for me, too. In fact, where I can point Scamper at a site I
know is using php3, I get no problems (apart from the tables!). I
interpret this as meaning that (at least) Scamper understands the old
php3 suffix. But.....
>
> I think your problem may be in the configuration of your web server, or
> perhaps your PHP implementation (check the variable "default_mimetype"),
> which may not be properly setting the content-type to "text/html".
I've looked through the conf files and the mimetypes and they seem to be
in order. phptest.php gives: Content-Type
text/html;charset=iso-8859-1
>I
> believe the reason it's working in other browsers is that many don't just
> look at the content-type and look instead for the opening <HTML> tag - that
> appears to let them handle "file:" more intelligently. You might try to
> telnet to port 80 on localhost and manually do the request and see what your
> response header looks like.
Telnetting in doesn't tell me much. GET just produces the (html) source
of whatever I ask for, be it /index.html or /emergency.php. Is there
anything else I can do?
> I'd also verify that the HTML is well-formed.
Weblint says it's as pure as the driven snow (whenever I see that I tend
to think weblint is broken!)
Completely puzzled ;-)
Thanks anyway
Cheers
John
--
Can't cope anymore? Desperate for help?
Join the 12 step program for those who yearn to give up Microsoft:
http://home.earthlink.net/~penguinrox/index.html
More information about the Squeak-dev
mailing list
|