1,746 questions
On the web site try adding a mime type of "." as an application/rtf.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I have a .rtf file in IIS directory.
I can able to download the file as "souravdutta.com/filename.rtf".
But my requirement is to download the file without extension as "souravdutta.com/filename".
Is this possible?
If yes then where to change in config file?
On the web site try adding a mime type of "." as an application/rtf.
1. Install URL Rewrite module installed.
2. Open `web.config` file.
3. Add or modify the `<system.webServer>` section with the following
```xml
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Rewrite to filename.rtf">
<match url="^filename$" />
<action type="Rewrite" url="filename.rtf" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>