X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=conf%2Fexodus.py;h=aad10e22f5a121fbf442ebab587d0c33348bffb1;hb=0beb2436f9cf59b5d0767f3e04f3e3df8cc63879;hp=3b85532174de643e051912d52152e9904fd1ecf3;hpb=8308210090225f35709688b59523eedf652e6281;p=matthijs%2Fprojects%2Fwipi.git diff --git a/conf/exodus.py b/conf/exodus.py index 3b85532..aad10e2 100644 --- a/conf/exodus.py +++ b/conf/exodus.py @@ -1,16 +1,5 @@ -# -*- coding: iso-8859-1 -*- -# IMPORTANT! This encoding (charset) setting MUST be correct! If you live in a -# western country and you don't know that you use utf-8, you probably want to -# use iso-8859-1 (or some other iso charset). If you use utf-8 (a Unicode -# encoding) you MUST use: coding: utf-8 -# That setting must match the encoding your editor uses when you modify the -# settings below. If it does not, special non-ASCII chars will be wrong. - -""" -This is a sample config for a wiki that is part of a wiki farm and uses -farmconfig for common stuff. Here we define what has to be different from -the farm's common settings. -""" +# -*- coding: utf-8 -*- +# IMPORTANT! This encoding (charset) setting MUST be correct! # we import the FarmConfig class for common defaults of our wikis: from farmconfig import FarmConfig @@ -20,12 +9,11 @@ from farmconfig import data_dir_root # now we subclass that config (inherit from it) and change what's different: class Config(FarmConfig): - # basic options (you normally need to change these) + # basic options sitename = u'Exodus' # [Unicode] interwikiname = 'Exodus' - # name of entry page / front page [Unicode], choose one of those: - + # name of entry page page_front_page = u"Home" data_dir = data_dir_root + '/exodus/' @@ -37,8 +25,7 @@ class Config(FarmConfig): theme_default = 'exodus' - # All urls that would be generated below /wipi/Site can be pointed to - # /Site instead, since lighttpd maps /Site to the wipi as well. - url_mappings = {'/wipi/Site' : '/Site'} + # Set cookies on /, so they work on /wipi and /Site alike. + cookie_path = '/' # vim: set ts=8 sts=4 sw=4 expandtab: