Quantcast
Channel: Configuration & Scripting
Viewing all articles
Browse latest Browse all 780

Default Document not Working Properly

$
0
0

I've been trying to configure Default Document, but it has not bode well.. going to my site returns a 401 unauthorized, but when I go to my site and add /index to the URL I get routed correctly. Here's my web.config file:

<?xml version="1.0" encoding="UTF-8"?><configuration><system.webServer><modules><remove name="UrlMappingsModule" /><remove name="UrlRoutingModule-4.0" /></modules><defaultDocument enabled="true"><files><clear /><add value="index.html" /><add value="favicon.ico" /></files></defaultDocument><directoryBrowse enabled="true" showFlags="Date, Time, Size, Extension, LongDate" /></system.webServer></configuration>

I enabled directory browsing because I thought that might have been the issue (it being disabled).

Index.html is my landing page, and I just don't know how to get this to work!

-Sean S


Viewing all articles
Browse latest Browse all 780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>