# HG changeset patch # User Mathias Gebbe # Date 1393845249 -3600 # Node ID 960c044010e5850b2e0ccc675d174cb174d85e4d # Parent c66f4b393d15f7f0dff33362e5f2ceff0a8dda53 Activate Python Server Pages within .htaccess Set full path to index.html diff -r c66f4b393d15 -r 960c044010e5 .htaccess --- a/.htaccess Mon Mar 03 11:34:30 2014 +0100 +++ b/.htaccess Mon Mar 03 12:14:09 2014 +0100 @@ -1,2 +1,6 @@ +# Activate "Python Server Pages" +AddHandler mod_python .psp +PythonHandler mod_python.psp + AddDefaultCharset UTF-8 DirectoryIndex index.psp diff -r c66f4b393d15 -r 960c044010e5 index.psp --- a/index.psp Mon Mar 03 11:34:30 2014 +0100 +++ b/index.psp Mon Mar 03 12:14:09 2014 +0100 @@ -7,7 +7,7 @@ # SETTINGS -tmpl = "./index.html" +tmpl = "/var/lib/gforge/chroot/home/groups/dive4elements/htdocs/index.html" url = "https://io.intevation.de/api/user/dive4elements/feed/public" #url = "https://io.intevation.de/api/user/Intevation/feed/public" verb = "share" # post or share