Default page only loads when I put /index.php
Posted: Thu May 17, 2007 7:35 am
Really strange error here..
I have a script that looks for the page it needs to load in the url.
myurl.com/index.php?page=home
or when mod_rewrite is enabled
myurl.com/home/
the variable $page is set to "home" igf there is no get data set in the url.
The strange thing is that
when i just put myurl.com it loads the index.php file, but with an error that page in the system.
Even more strange, the variable $page is then set to "myurl" ???
when i put myurl.com/index.php, it loads ok
Even more strange is that it doesn't happen on all servers!
Is it looking for a html file or something else?
Don't have a clue here people...
I have a script that looks for the page it needs to load in the url.
myurl.com/index.php?page=home
or when mod_rewrite is enabled
myurl.com/home/
the variable $page is set to "home" igf there is no get data set in the url.
The strange thing is that
when i just put myurl.com it loads the index.php file, but with an error that page in the system.
Even more strange, the variable $page is then set to "myurl" ???
when i put myurl.com/index.php, it loads ok
Even more strange is that it doesn't happen on all servers!
Is it looking for a html file or something else?
Don't have a clue here people...