Click here to Skip to main content
16,011,815 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello friend

I made a admin folder in which i set the login details.when user want to login then user go like that : domainname/admin/login.aspx

but when i type domainname/admin then default go to this link: domainname/admin/login.aspx
and open my lonin panel but I get an error....
can you tell me how to fix this error

HTTP Error 403.14 - Forbidden

The Web server is configured to not list the contents of this directory.

when I go like this then still get an error
XML
<customErrors mode="RemoteOnly" defaultRedirect="error.html">
    <error statusCode="403" redirect="error.html" />
    <error statusCode="505" redirect="error.html" />
    <error statusCode="404" redirect="FileNotFound.html" />
</customErrors>


or when i set default page using web.config file like this
XML
<system.webServer>
  <defaultDocument>
    <files>
      <clear />
      <add value="login.aspx" />
    </files>
  </defaultDocument>
</system.webServer>


then permanently Login.aspx set as a default when i open my main domain

so please tell me how to fixed this
HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory.
Posted
v5

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900