re: Re: [PHP-WINDOWS] $PHP_SELF and Apache and Win32 (strange values)

From: Date: Tue, 20 Jun 2000 03:18:16 +0000
Subject: re: Re: [PHP-WINDOWS] $PHP_SELF and Apache and Win32 (strange values)
Groups: php.windows 
Request: Send a blank email to php-windows+get-543@lists.php.net to get a copy of this message
Thanks. I ended up doing that and ot worked again. I just wasn't sure if it was a feature or a bug of apache? I thought I could have just moved my script bettween webservers and there would be no problem. :( Does the cgi version on Unix do this? > This is right. The Apache/PHP on Win32 combo has this "feature" - I don't > remember this ever being a problem on PWS. (Hey, can someone "un-feature" > this ;-) ?) > > Don't use $SCRIPT_NAME, or either that, use the $PATH_INFO variable or do > what I do, reference all $PHP_SELF vars as basename($PHP_SELF). Pain in the > neck, but it works. > > Ignatius > > > ----- Original Message ----- > From: <phoenix@phoenixdigital.com> > To: <php-windows@lists.php.net> > Sent: Tuesday, June 20, 2000 11:37 AM > Subject: [PHP-WINDOWS] $PHP_SELF and Apache and Win32 (strange values) > > > > > > Hi, > > > > I must have my apache configured incorrectly because I get the following. > > > > PHP_SELF = /php3/php.exe/php/phpinfo.php3 > > SCRIPT_NAME = /php3/php.exe > > > > Here are my setttings in my httpd.conf file. > > > > ScriptAlias /php3/ "c:/program files/internet/Apache/modules/php/php3/" > > AddType application/x-httpd-php3 .php3 > > AddType application/x-httpd-php3 .phtml > > Action application/x-httpd-php3 "/php3/php.exe" > > > > Is this correct, why are the values of SCRIPT_NAME and PHP_SELF incorrect? > > > > I have another webserver Xitami on the same machine and the values come > out correct. > > > > > > -- > > 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.windows (#543) next »