lighttpd/evolution-events.nl: Fix Xerxes configuration.
authorMatthijs Kooijman <matthijs@stdin.nl>
Fri, 23 Jul 2010 11:56:08 +0000 (13:56 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Fri, 23 Jul 2010 11:56:08 +0000 (13:56 +0200)
etc/lighttpd/vhosts/evolution-events-nl

index 8807091cb4174af84aa7d0164471c27fc1de1b6d..b20f9648da719e889f6d4287d47d670603a28217 100644 (file)
@@ -84,15 +84,14 @@ $HTTP["host"] =~ ".evolution-events.nl$" {
                )
 
                alias.url += (
-                       "/media/" => "/home/matthijs/django/contrib/admin/media/",
-                       "/static/" => var.site-dir + "/applications/xerxes/static/",
+                       "/admin/media/" => "/usr/share/python-support/python-django/django/contrib/admin/media/",
+                       "/media/" => var.site-dir + "/applications/xerxes/media/",
                )
 
                url.rewrite-once += (
-#                      "^(/.*)$" => "/",
                        "^(/media.*)$" => "$1",
-                       "^(/static.*)$" => "$1",
-                       "^/favicon\.ico$" => "/media/favicon.ico",
+                       "^(/admin/media.*)$" => "$1",
+                       #"^/favicon\.ico$" => "/admin/media/favicon.ico",
                        "^(/.*)$" => "/blaa$1",
                )
        }