Merge "Warn on session access in profileinfo.php and opensearch_desc.php"
[lhc/web/wiklou.git] / maintenance / hiphop / server.conf
index a8cf0b1..558bdad 100644 (file)
@@ -1,7 +1,6 @@
 Log {
-       Level = Verbose
+       Level = Warning
        UseLogFile = true
-       File = /dev/stdout
        NativeStackTrace = true
        InjectedStackTrace = true
 }
@@ -11,3 +10,21 @@ Debug {
        ServerErrorMessage = true
        TranslateSource = true
 }
+Server {
+       EnableStaticContentCache = false
+       EnableStaticContentFromDisk = true
+       AlwaysUseRelativePath = true
+}
+VirtualHost {
+       * {
+               ServerName = localhost
+               Pattern = .
+               RewriteRules {
+                       * {
+                               pattern = ^/wiki/(.*)$
+                               to = /index.php?title=$1
+                               qsa = true
+                       }
+               }
+       }
+}