We have a server named slc-app-01
and an ASP.NET application in the default website configured as printflow
. I set up a CNAME in DNS for printflow
to point at slc-app-01
so the application could be accessed via http://printflow/printflow
.
The problem is that when the application is accessed via http://printflow/printflow
it returns:
403.1 Forbidden: Execute access is denied.
But when accessed via http://slc-app-01/printflow
it works fine.
This has worked fine for over a year. The only thing I can think that we recently changed was installing .NET 4.0 and registering ASP.NET 4.0 with IIS. The application however is still configured for .NET 2.0 and we created a separate AppPool for the 4.0 application.
Thanks for any help.
Have you added "printflow" to the Host Headers for the website in IIS?
You could check the following things:
Turned out to be a HOST Header problem after-all. Someone had configured a site with
printflow
as a hostheader and it was co-opting all of the requests. Since this rogue site was configured with "None" for "Execute Permissions" it was throwing a 403.1 instead of a 404 for "*.aspx, asmx, etc..." even though the site was void of any files.