Page 1 of 1
[solved]getting redirected to www.localhost.com
Posted: Sun May 10, 2009 6:45 am
by Sosi
Hi!
Whenever I try to run ANY php script, I get redirected from
http://localhost/script.php to
http://www.localhost.com/script.php
Can someone please help me? This is really urgent.
thanks a lot
solved: installed XAMP
Re: getting redirected to www.localhost.com (urgent help needed)
Posted: Sun May 10, 2009 2:10 pm
by califdon
Do you have a properly configured web server on your local computer? Is there an .htaccess file in the document root directory?
Re: [solved]getting redirected to www.localhost.com
Posted: Sun May 10, 2009 6:15 pm
by John Cartwright
Yea.. sounds like the browser your using is attempting to "predict" what you meant to type in, because the original request failed.
Re: [solved]getting redirected to www.localhost.com
Posted: Sun May 10, 2009 6:20 pm
by Sosi
I dont know what happened. I went to the "about:config" thingy in firefox and disabled that "auto predict" capibility of the browser, but still didnt run the scripts...
Now I installed XAMP and everything is solved
