docs/lighttpd-example.conf
author Tero Marttila <terom@fixme.fi>
Wed, 01 Jul 2009 20:40:00 +0300
changeset 141 9387da0dc183
parent 39 5591342ec2c9
permissions -rw-r--r--
move .config from filesystem to gallery/folder/image, rename degal_dir to app_dir
# 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"
)