Up until recently, my websites had been working properly for years. Suddenly, two of the websites on the same server (Windows 2003 IIS 6) began to experience the same problem at the same time. It is possible that I or a co-worker unintentionally changed a server setting to cause this problem.
I'll substitute my actual website domains with www.example.com
Whenever any visitor goes to www.example.com/index.asp
, they get a directory listing instead of the actual page. The same is true with my other asp site, www.example2.com
. This happens for every .asp page on both website. .html pages work fine. Also, we have some .NET websites on the server and their .aspx pages are working fine too. Only .asp pages are giving directory listings.
From within the webserver, I have tried accessing the pages using a local internal (10.100...) IP address. I still get a directory listing, so I can safely rule out the firewall as somehow being responsible.
There is one more unusual twist, which is that the sites will display a .asp page correctly as a default document. In other words, if I go to www.example.com/
then I will actually see index.asp displayed correctly (if index.asp is the default document) and the asp code runs properly! But if I go to www.whatever.com/index.asp
, I get a directory listing.
Thank you very much!