planiverse

A minimalist, no-JS front-end for Mastodon.
git clone https://git.stjo.hn/planiverse
Log | Files | Refs | README | LICENSE

web.config (914B)


      1 <configuration>
      2   <system.webServer>
      3     <rewrite>
      4       <rules>
      5         <rule name="Imported Rule 1" stopProcessing="true">
      6           <match url="^(.*)/$" ignoreCase="false" />
      7           <conditions>
      8             <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
      9           </conditions>
     10           <action type="Redirect" redirectType="Permanent" url="/{R:1}" />
     11         </rule>
     12         <rule name="Imported Rule 2" stopProcessing="true">
     13           <match url="^" ignoreCase="false" />
     14           <conditions>
     15             <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
     16             <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
     17           </conditions>
     18           <action type="Rewrite" url="index.php" />
     19         </rule>
     20       </rules>
     21     </rewrite>
     22   </system.webServer>
     23 </configuration>