degal-lighttpd.conf
author terom
Wed, 16 Jan 2008 14:58:03 +0000
changeset 19 8d3ffd87cb0b
parent 18 46536daf9e04
permissions -rw-r--r--
* move cgi-bin to de-cgi-bin so it doesn't conflict with my default alias... need to come up with a real solution to this
* refactored series/shorturl into the new codebase
# 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"
)