I was wondering if anyone here know why php (or something else) would parse a relative url with the “php.cgi” extensions.
Reason is, I moved a script from a previous host to a dreamhost server, and certain links are not working.
The problem is the links (script generated) end up something like:
Which generates a 404, since the script is just called index.php.
It should be:
The part of the script that is in charge of this starts somehow like this:
echo “<a href=”?"
and concatenates the rest of variables needed…
If more info is needed please let me know. I haven’t been able to find much info about this, and I’m still not that much of a pro in php coding =)
Thanks for your reply.