ChaosKnight Posted July 13, 2010 Share Posted July 13, 2010 I recently formatted my developing computer because my Windows became corrupt, I also never worked with .htaccess before seeing that I was hosted on a Windows server with IIS previously, so I don't know if this is mor of a .htaccess problem. But since I installed everything again, everything seemed to be working fine, until I had to download the Visual C# Express program from Microsoft's website today and something happened that I have never seen before - when I request www.microsoft.com, Apache seems to think that the request is directed to it, and it sends back the files that is in the document root that I specified in my httpd file. And when I request a file that is in my document root via: www.microsoft.com/filename the file on my computer under the specified document root is returned... Is there anyone that has ever stumbled into the same problem in the past? I need to sort this out fast, because I really need to get Visual C# so it's quite urgent... Thanks Quote Link to comment https://forums.phpfreaks.com/topic/207610-htaccess-or-some-setting/ Share on other sites More sharing options...
corbin Posted July 13, 2010 Share Posted July 13, 2010 Uhhh.... that's cracked out. I would check your hosts file (C:\Windows\system32\drivers\etc\hosts) to make sure there's not an entry in there for it. Otherwise, your DNS resolution is messed up somewhere, be it at a computer level, router level, or ISP level, I have no idea. Quote Link to comment https://forums.phpfreaks.com/topic/207610-htaccess-or-some-setting/#findComment-1085490 Share on other sites More sharing options...
ChaosKnight Posted July 14, 2010 Author Share Posted July 14, 2010 Ahh thanks, your hosts suggestion worked... Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/207610-htaccess-or-some-setting/#findComment-1085870 Share on other sites More sharing options...
corbin Posted July 15, 2010 Share Posted July 15, 2010 Odd that it was in there, but whatever works ;p. Quote Link to comment https://forums.phpfreaks.com/topic/207610-htaccess-or-some-setting/#findComment-1086268 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.