0

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.

2 Answers 2

1

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.

1
  • Great, glad you got it sorted!
    – Sam Cogan
    May 29, 2009 at 22:49
0

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .