Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I keep getting an HTTP Error 403.14 when I browse to http://localhost/. According to MSDN this is a problem with the default document setting, and the configuration doesn't allow a directory listing.

However, when I specifically pull up http://localhost/default.aspx it works fine -- and default.aspx is listed as a default document in my server configuration.

Is there something else that can cause this problem?


I've checked the applicationHost.config file:

<sectionGroup name="system.webServer">
          <section name="asp" overrideModeDefault="Deny" />
          <section name="caching" overrideModeDefault="Allow" />
          <section name="cgi" overrideModeDefault="Deny" />
          <section name="defaultDocument" overrideModeDefault="Allow" />
          <section name="directoryBrowse" overrideModeDefault="Allow" />

and it's listed before directoryBrowse.

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

It appears I was looking in the wrong place -- the default.aspx entry was there at the server level, but the specific website didn't have one set.

share|improve this answer
    
Great, glad you got it sorted! –  Sam May 29 '09 at 22:49
add comment

This can be related to the default-document module of IIS, firstly make sure this module is installed.If it is installed, it could be that it is listed after the DirectoryListing module in the applicationhost.config file of IIS, it needs to be listed before te DirectoryListing module.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.