server.conf 482 B

12345678910111213141516171819202122232425262728293031
  1. Log {
  2. Level = Warning
  3. UseLogFile = true
  4. NativeStackTrace = true
  5. InjectedStackTrace = true
  6. }
  7. Debug {
  8. FullBacktrace = true
  9. ServerStackTrace = true
  10. ServerErrorMessage = true
  11. TranslateSource = true
  12. }
  13. Server {
  14. EnableStaticContentCache = false
  15. EnableStaticContentFromDisk = true
  16. AlwaysUseRelativePath = true
  17. }
  18. VirtualHost {
  19. * {
  20. ServerName = localhost
  21. Pattern = .
  22. RewriteRules {
  23. * {
  24. pattern = ^/wiki/(.*)$
  25. to = /index.php?title=$1
  26. qsa = true
  27. }
  28. }
  29. }
  30. }