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
[solved]getting redirected to www.localhost.com
Moderator: General Moderators
[solved]getting redirected to www.localhost.com
Last edited by Sosi on Sun May 10, 2009 2:47 pm, edited 1 time in total.
Re: getting redirected to www.localhost.com (urgent help needed)
Do you have a properly configured web server on your local computer? Is there an .htaccess file in the document root directory?
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: [solved]getting redirected to www.localhost.com
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
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
Now I installed XAMP and everything is solved