Mobile app version of vmapp.org
Login or Join
Bryan171

: IIS 7.5 Request Filtering I keep getting 404.7 (FILE_EXTENSION_DENIED) on a sub directory I have under my Default Web Site. Request Filtering allows htm and html files on the server level and

@Bryan171

Posted in: #Iis7

I keep getting 404.7 (FILE_EXTENSION_DENIED) on a sub directory I have under my Default Web Site.

Request Filtering allows htm and html files on the server level and the site level.

A few months ago I created a folder under Default Web Site to test some proof of concept stuff and have had no problems.

A week or so ago I added a folder with Piwik php html code underneath 'Default Web Site' and request filtering has decided to block html extensions.

My question is can anyone tell me any reason why my one folder would not have html files blocked and yet another added a few weeks later does have html files blocked?

EDIT:
I believe I installed Request Filtering a much longer time ago before both of these websites were created when I was doing some Web Deploy stuff. Other than that I have not knowingly applied any request filters to any of the websites.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Bryan171

1 Comments

Sorted by latest first Latest Oldest Best

 

@Angie530

Open up IIS manager.
Click on your site on the left hand side. On the right hand side double click Request Filtering.

Now under the File Name and Extension tabs, make sure the extension of the page you are trying to allow is allowed (set to true). So if you are trying to serve a .py page then .py extension needs to be true.

Browse through the different tabs, and make sure your folder is not in a hidden segment, or if there are any http verbs (update, delete, insert) which you have blocked via request filtering which is causing your headache.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme