Merge "(bug 46463) Mark edit preview as in page view language"
[lhc/web/wiklou.git] / maintenance / hiphop / server.conf
index 8c53ab5..558bdad 100644 (file)
@@ -1,7 +1,6 @@
 Log {
        Level = Warning
        UseLogFile = true
-       File = /dev/stdout
        NativeStackTrace = true
        InjectedStackTrace = true
 }
@@ -12,5 +11,20 @@ Debug {
        TranslateSource = true
 }
 Server {
+       EnableStaticContentCache = false
        EnableStaticContentFromDisk = true
+       AlwaysUseRelativePath = true
+}
+VirtualHost {
+       * {
+               ServerName = localhost
+               Pattern = .
+               RewriteRules {
+                       * {
+                               pattern = ^/wiki/(.*)$
+                               to = /index.php?title=$1
+                               qsa = true
+                       }
+               }
+       }
 }