Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

77 Zeilen
2.7KB

  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. <!-- Contact form email (the mailbox password comes from SMTP_PASSWORD in the project-root .env file) -->
  31. <add key="ContactRecipient" value="covington.daniel@gmail.com" />
  32. <add key="SmtpServer" value="netsol-smtp-oxcs.hostingplatform.com" />
  33. <add key="SmtpPort" value="465" />
  34. <add key="SmtpUsername" value="danielcovington@postcardmojo.com" />
  35. <add key="SmtpUseSsl" value="true" />
  36. </appSettings>
  37. <system.webServer>
  38. <!-- Default document for the site root -->
  39. <defaultDocument>
  40. <files>
  41. <clear />
  42. <add value="Default.asp" />
  43. </files>
  44. </defaultDocument>
  45. <!-- URL Rewrite: send everything through Default.asp except static assets -->
  46. <rewrite>
  47. <rules>
  48. <rule name="Rewrite to Default.asp" stopProcessing="true">
  49. <match url="^(?!Default\.asp$|css/|js/|images/|aspunit/|favicon\.ico$).*$" />
  50. <conditions>
  51. <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
  52. <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
  53. </conditions>
  54. <action type="Rewrite" url="/Default.asp" />
  55. </rule>
  56. </rules>
  57. </rewrite>
  58. </system.webServer>
  59. </configuration>

Powered by TurnKey Linux.