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 SinghPosted Jun 24, 2022, 8:38 AM
Rodel BarbinPosted Jun 28, 2022, 12:41 AM
Rodel BarbinPosted Jun 28, 2022, 12:40 AM
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 BarbinPosted Jun 24, 2022, 8:51 AM
Rodel BarbinPosted Jun 24, 2022, 8:50 AM
Rodel BarbinPosted Jun 24, 2022, 8:36 AM
Sachin SinghPosted Jun 24, 2022, 8:03 AM
Amit MohantyPosted Jun 24, 2022, 7:59 AM