strange PHP_SELF behavior
Posted: Mon May 09, 2005 4:24 am
Hi,
I am migrating a self-made CMS app from one linux server to another and i am getting very strange PHP_SELF behavior on the new server.
I hope someone will be able to help me!
This app uses SEF URLs like http://domain.com/index.php/title/4/ (4 being the id)
When i use PHP_SELF in all the server but the new one i get as an answer "/index.php/title/4/".
When i use it on the new server, i get "/title/4/"!!!!!!!
I am at a loss here. What could be triggering such a change? What parameter should i change in the new server's config???
Help!!!!!!
For info purposes, i can PM the PHPInfo for both servers: the working one and the new, not working one.
Thanks for any help
I am migrating a self-made CMS app from one linux server to another and i am getting very strange PHP_SELF behavior on the new server.
I hope someone will be able to help me!
This app uses SEF URLs like http://domain.com/index.php/title/4/ (4 being the id)
When i use PHP_SELF in all the server but the new one i get as an answer "/index.php/title/4/".
When i use it on the new server, i get "/title/4/"!!!!!!!
I am at a loss here. What could be triggering such a change? What parameter should i change in the new server's config???
Help!!!!!!
For info purposes, i can PM the PHPInfo for both servers: the working one and the new, not working one.
Thanks for any help