js

Wednesday, April 23, 2025

To automatically redirect URLs in IIS

✅ IIS Configuration Using web.config

Here’s the correct web.config file to put inside your ilrmsdemo root directory:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Rewrite to index.php" stopProcessing="true">
<match url="^(.*)$" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php/{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>

No comments:

Post a Comment

অধ্যায়-১, ৰাসায়নিক বিক্রিয়া আৰু সমীকৰণ, CHEMICAL REACTIONS AND EQUATIONS, Internal Important Questions and Answers, Science, class 10, SEBA

  ১। বায়ুত মেগনেছিয়াম ফিটা এডাল দহন কৰিলে বা জ্বলালে কি হয়? এই বিক্ৰিয়াটোৰ সমীকৰণটো লিখা। উত্তৰঃ বায়ুত মেগনেছিয়াম ফিটা এডাল দহন কৰিলে বা ...