From 1bb86de52bd77e037e082d6c633fc659d43b473d Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Fri, 23 Jul 2010 13:56:08 +0200 Subject: [PATCH] lighttpd/evolution-events.nl: Fix Xerxes configuration. --- etc/lighttpd/vhosts/evolution-events-nl | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/etc/lighttpd/vhosts/evolution-events-nl b/etc/lighttpd/vhosts/evolution-events-nl index 8807091..b20f964 100644 --- a/etc/lighttpd/vhosts/evolution-events-nl +++ b/etc/lighttpd/vhosts/evolution-events-nl @@ -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", ) } -- 2.30.2