Drupal localhost redirecting to www.localhost.com
- by AntonioCS
Hey!
I am working on a drupal site which I checked out (svn) to my localhost.
Now the problem is that when I go to:
http://www.site.com
it all works fine, but when I go to:
http://localhost/work/site
I get redirected to
http://www.localhost.com/work/site
I have ran the install.php script and all works great. It reinstalls everything but when I go to the main site the redirect occurs.
I removed the .htaccess file, didn't do anything.
I am using windows 7 ultimate 64 (also tried on winxp pro 32) apache 2.2, php 5.2.13
Anyone know anyway to fix this?
Thanks