From: Matthijs Kooijman Date: Fri, 23 Jul 2010 11:56:08 +0000 (+0200) Subject: lighttpd/evolution-events.nl: Fix Xerxes configuration. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=1bb86de52bd77e037e082d6c633fc659d43b473d;p=matthijs%2Fservers%2Fdrsnuggles.git lighttpd/evolution-events.nl: Fix Xerxes configuration. --- 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", ) }