Hi Sir, Mam,
I publish html files in IIS 10 and wanting to remove the .html when accessing the website index.html
so when I open a browser and access the site index it will display the index html file
without specifying the .html extension.
Thanks!
Rodel

Sachin SinghRank #66 · 26.2K reputationPosted Jun 24, 2022, 4:38 AM EDT
Amit MohantyRank #112 · 20K reputationPosted Jun 24, 2022, 3:59 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Jun 24, 2022, 4:03 AM EDT
Rodel Barbin151 reputationPosted Jun 24, 2022, 4:36 AM EDT
Rodel Barbin151 reputationPosted Jun 24, 2022, 4:50 AM EDT
Rodel Barbin151 reputationPosted Jun 24, 2022, 4:51 AM EDT
Rodel Barbin151 reputationPosted Jun 27, 2022, 8:40 PM EDT
Hi Sachin Singh,
I created a website in IIS called kas and added an application named kas as well.
In C:\kas was shared and the share name is kas. The location of the html files and graphics is in
C:\kas and I added the URL Rewrite in kas application. The web.config now is located in C:\kas\web folder to remove the Cannot add duplicate collection entry of type 'rule' with unique key attribute 'name' set to 'RewriteHTML'
When i started to launch the site 1.html -- it displays the web content
however when launch the site 1 -- it displays errors
Detailed Error Information:
Module IIS Web Core
Notification MapRequestHandler
Handler StaticFile
Error Code 0x80070002
Physical Path C:\kas\web\1
Logon Method Anonymous
Logon User Anonymous
Rodel Barbin151 reputationPosted Jun 27, 2022, 8:41 PM EDT