changeset 32:960c044010e5

Activate Python Server Pages within .htaccess Set full path to index.html
author Mathias Gebbe <mgebbe@intevation.de>
date Mon, 03 Mar 2014 12:14:09 +0100
parents c66f4b393d15
children 86216e9d75b1
files .htaccess index.psp
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)