So, I have a site with 2 host headers:
In this site, I have a virtual directory called Foo and it has various sub-directories 1, 2, 3 & 4 that have various style sheets. A page references these style sheets dynamically via
When I go to
http://header1.somewhere.com/SomePageThatUsesFoo2Style.aspx I am getting a 404 trying to get
The file absolutely 100% exists in the correct directory, and permissions are correct.
The interesting part. If I go to
http://header1.somewhere.com/SomePageThatUsesFoo1Style.aspx it works just fine. Also, if I go to
http://header2.somewhere.com/SomePageThatUsesFoo1Style.aspx it works just fine.
Has anyone seen this kind of weird issue where 1 specific host header screws things up?
I'll also add that just for giggles, I created a completely NEW website from scratch with a NEW host header (
header3.somewhere.com) and everything worked. I stopped the old site, and added
header2 to the new site and the same error occurs.
EDIT: I tried using Microsoft Network Monitor 3.4 to capture packets. I hit several pages of my site where the above is experienced. Applied a filter to the capture for any HTTP status code >= 400 and there are no results. When using Fiddler from my desktop hitting my site, Fiddler shows a 404 also.