Re: leading slash in SCRIPT_NAME variable

From: Date: Thu, 02 Mar 2006 08:42:51 +0000
Subject: Re: leading slash in SCRIPT_NAME variable
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-231321@lists.php.net to get a copy of this message
In phpinfo page SCRIPT_NAME variable is set correctly. What have effect this variable ? May be include_path setting ? Rumisek Chris wrote: > Roman Rumisek wrote: >> Hi, >> >> i have configured apache 2.0.50 with mod_php 4.4.2 and >> $_SERVER['SCRIPT_NAME'] beginning with /// (three slash). >> >> Where have i a error ? (probably configuration) >> >> Application apache configuration: >> >> Alias /trsklad/ /.../projects/akce/src/html/ >> <Directory /.../projects/akce/src/html/> >> AllowOverride All >> Order deny,allow >> Deny from all >> Allow from 127.0.0.1 >> </Directory> >> >> Thanks >> >> Rumisek >> > > I don't think it's apache. > > Are you seeing this in a phpinfo page or in your code somewhere? > > If you're not using a phpinfo page then create one and see if it's in > there first. >

« previous php.general (#231321) next »