Re: Weird problem with index.html/php
| From: | Cary Collett | Date: | Fri, 29 Sep 2000 11:43:08 +0000 |
| Subject: | Re: Weird problem with index.html/php | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18033@lists.php.net to get a copy of this message | ||
I checked that. With PHP off it serves the proper index.html
(of course without the PHP parsed).
The garbage seems to consist of control characters, white space
and some text from the index.html (or index.php in some dirs).
Cary
Thus spake Jeff (php@biz-link.com):
> Just a guess, but it sounds like your configuration is set up
> to serve a default page other than index.html. You don't specify
> what the garbage consists of (raw php code?) so it's hard to
> tell what it's doing.
>
> Jeff
>
>
> Cary Collett wrote:
> >
> > Ok, this is quite odd. If I hit / (as in http://mysite.net/Z5&¶�
> > 8è;–ÛóÕ) the
> > server returns a bunch of garbage. If I hit /index.html, I get
> > back the properly parsed page I expect.
> >
> > If I turn of PHP, everything is fine, except of course no PHP
> > parsing.
> >
> > I'm using PHP 4.0.1 with NES 3.63 (NSAPI). Compiled with GCC 2.95.2.
> >
> > I'm at a loss as to what is causing this, please help!
> >
> > Cary
> >
--
Cary Collett cary@ratatosk.org
http://cary.ratatosk.org/
"To me boxing is like ballet, except that there's no music, no choreography,
and the dancers hit eachother." -- Jack Handy