Teknik is a suite of services with attractive and functional interfaces. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

web.config 920B

123456789101112131415161718192021
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <configuration>
  3. <system.webServer>
  4. <rewrite>
  5. <rules>
  6. <rule name="RewriteUserFriendlyURL1" stopProcessing="true">
  7. <match url="^([^/]+)/?$" />
  8. <conditions>
  9. <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
  10. <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
  11. </conditions>
  12. <action type="Rewrite" url="profile.php?id={R:1}" />
  13. </rule>
  14. </rules>
  15. </rewrite>
  16. <httpErrors>
  17. <remove statusCode="404" subStatusCode="-1" />
  18. <error statusCode="404" prefixLanguageFilePath="" path="http://error.teknik.io/404" responseMode="Redirect" />
  19. </httpErrors>
  20. </system.webServer>
  21. </configuration>