Re: leading slash in SCRIPT_NAME variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Roman Rumisek wrote:
In phpinfo page SCRIPT_NAME variable is set correctly.

What have effect this variable ? May be include_path setting ?

That means something in your script is modifying it.

Without seeing code nobody's going to be able to help much more than that.

If it's a lot of code, every 50 lines echo out $_SERVER['SCRIPT_NAME'], or if you're using functions then print it out in every function call - see where it breaks then work backwards.

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.





--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux