degal-lighttpd.conf
author terom
Thu, 31 Jan 2008 19:19:05 +0000
changeset 30 b1d5c32ab771
parent 18 46536daf9e04
permissions -rw-r--r--
moar tweaks/small bugfixes
# prefix for degal's URLs, no trailing slash
var.degal-url = "/photos"

# filesystem path to degal, no trailing slash
var.degal-path = "C:/Dokumente und Einstellungen/me/Eigene Dateien/python/degal"

url.rewrite-once = (
#    "^" + var.degal-url + "/s/([^/]+)(/.*)?$" => var.degal-path + "/shorturl.py?key=$1&index=$2",
    "/this" => "/photos/index.html"
#    "^/photos/s/([^/]+)(/.*)?$" => "/photos/index.html", # "/shorturl.py?key=$1&index=$2",
#    "^" + var.degal-url + "/series/([^/]+)/(.*)$" => var.degal-path + "/series.py?keys=$1&index=$2"
)

cgi.assign = (
    ".py" => "python"
)