Re: Re: $PATH_INFO under Windows NT

From: Date: Sat, 25 Nov 2000 03:45:36 +0000
Subject: Re: Re: $PATH_INFO under Windows NT
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-27083@lists.php.net to get a copy of this message
127.0.0.1/test.php/this/is/a/test isn't a well URL protocol://user:passwd@domain:port/path#fragment?query test.php/this/is/a/test would mean that you have in your htdocs directory a path name test.php/this/is/a/test an an index.php in it. try to put your hello-world.php in the htdocs directory an enter 127.0.0.1/hello-world.php regards Folke -- Folke Ashberg Stage Internet Services GmbH Technical Development folke@fanstage.de folke@fanstage.de | Tel: +49 89 454591-77 | Fax: +49 89 454591-71 Kreillerstr. 21 | 81673 Munich | Germany | www.fanstage.de On Fri, 24 Nov 2000, John Biesnecker wrote: > You know... that was a really good idea. > > So, I downloaded Apache, installed it, configured it the way that the PHP > manual suggests, and it works fine when I run a simple script (like > 127.0.0.1/test.php) but when I try to tack some stuff on to the path (like > 127.0.0.1/test.php/this/is/a/test) it gives me a 500 Internal Server Error > > I looked at the error log, and there is this: > > [Fri Nov 24 21:53:56 2000] [error] [client 127.0.0.1] Premature end of > script headers: c:/php/php.exe > > Any ideas? > > Thanks. > > /s/ John Biesnecker > > ----- Original Message ----- > From: "Tom" <tom.mathews@st.com> > To: "John Biesnecker" <amraam@ao.net> > Sent: Friday, November 24, 2000 10:21 AM > Subject: Re: [PHP-WIN] $PATH_INFO under Windows NT > > > > This may be slightly beside the point, but if your sites are winding up on > > Unix boxes, I'm guessing that they may well be running Apache. If that's > the > > case, then why not install it on your develpment machine as well? I've got > a > > system running 2K and Apache and $PATH_INFO runs fine with no config > options > > required. > > > > Tom > > > > John Biesnecker wrote: > > > > > Hello all. > > > > > > I am trying to get pages that use $PATH_INFO instead of $QUERY_STRING to > > > pass information working on my Win2000 box (running PHP 4.0.3 pl 1 and > IIS > > > 5). It works fine on the Unix system that my pages end up on, but I > would > > > really like to be able to develop locally. > > > > > > Is there some configuration option that I'm missing? Or does it just > not > > > work in NT? > > > > > > Thanks for your help. > > > > > > /s/ John Biesnecker > > > > > > -- > > > PHP Windows Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > > > For additional commands, e-mail: php-windows-help@lists.php.net > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > >

« previous php.general (#27083) next »