No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

70 líneas
2.3KB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <configuration>
  3. <appSettings>
  4. <!--
  5. Optional Access connection string. Change Data Source after creating
  6. the application's database, or replace this setting for another store.
  7. -->
  8. <add key="ConnectionString"
  9. value="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\YourApp\db\webdata.accdb;Persist Security Info=False;" />
  10. <!-- Environment flag (Development / Staging / Production) -->
  11. <add key="Environment" value="Development" />
  12. <!-- Flash message display duration in milliseconds -->
  13. <add key="FlashMessageTimeout" value="3000" />
  14. <!-- 404 error page redirect countdown in seconds -->
  15. <add key="Error404RedirectSeconds" value="5" />
  16. <!-- Cache expiration year for static content -->
  17. <add key="CacheExpirationYear" value="2030" />
  18. <!-- Maximum characters to display in table cells before truncating -->
  19. <add key="TableCellMaxLength" value="90" />
  20. <!-- Character threshold for textarea vs input field in forms -->
  21. <add key="FormTextareaThreshold" value="100" />
  22. <!-- Enable error logging to file (true/false) -->
  23. <add key="EnableErrorLogging" value="false" />
  24. <!-- Error log file path (if EnableErrorLogging is true) -->
  25. <add key="ErrorLogPath" value="C:\YourApp\logs\errors.log" />
  26. <!-- Enable cache-busting for URLs and assets (true/false) -->
  27. <add key="EnableCacheBusting" value="false" />
  28. <!-- Cache-bust parameter name (default: "v") -->
  29. <add key="CacheBustParamName" value="v" />
  30. </appSettings>
  31. <system.webServer>
  32. <!-- Default document for the site root -->
  33. <defaultDocument>
  34. <files>
  35. <clear />
  36. <add value="Default.asp" />
  37. </files>
  38. </defaultDocument>
  39. <!-- URL Rewrite: send everything through Default.asp except static assets -->
  40. <rewrite>
  41. <rules>
  42. <rule name="Rewrite to Default.asp" stopProcessing="true">
  43. <match url="^(?!Default\.asp$|css/|js/|images/|aspunit/|favicon\.ico$).*$" />
  44. <conditions>
  45. <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
  46. <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
  47. </conditions>
  48. <action type="Rewrite" url="/Default.asp" />
  49. </rule>
  50. </rules>
  51. </rewrite>
  52. </system.webServer>
  53. </configuration>

Powered by TurnKey Linux.