projects
/
matthijs
/
projects
/
wipi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Update location of static files to /wipi/static instead of /wipistatic.
[matthijs/projects/wipi.git]
/
conf
/
farmconfig.py
diff --git
a/conf/farmconfig.py
b/conf/farmconfig.py
index 5cce3061aa42a0585864658e5975bb9cbfd55bb4..f8c657d29563bbaf6f0304c98655daf2f0710814 100644
(file)
--- a/
conf/farmconfig.py
+++ b/
conf/farmconfig.py
@@
-45,7
+45,7
@@
wikis = [
# wikiname, url regular expression (no protocol)
# ---------------------------------------------------------------
# wikiname, url regular expression (no protocol)
# ---------------------------------------------------------------
- ("exodus", r"exodus.evolution-events.nl/wi
k
i"),
+ ("exodus", r"exodus.evolution-events.nl/wi
p
i"),
# for multiple wikis, do something like this:
#("moinmoin", r"^moinmo.in/.*$"),
# for multiple wikis, do something like this:
#("moinmoin", r"^moinmo.in/.*$"),
@@
-104,7
+104,7
@@
class FarmConfig(DefaultConfig):
# For Twisted and standalone server, the default will automatically work.
# For others, you should make a matching server config (e.g. an Apache
# Alias definition pointing to the directory with the static stuff).
# For Twisted and standalone server, the default will automatically work.
# For others, you should make a matching server config (e.g. an Apache
# Alias definition pointing to the directory with the static stuff).
- url_prefix_static = '/wipistatic'
+ url_prefix_static = '/wipi
/
static'
# Security ----------------------------------------------------------
# Security ----------------------------------------------------------
@@
-122,6
+122,12
@@
class FarmConfig(DefaultConfig):
# Needs a reliable internet connection.
#from MoinMoin.security.antispam import SecurityPolicy
# Needs a reliable internet connection.
#from MoinMoin.security.antispam import SecurityPolicy
+
+ acl_hierarchic = True
+
+ # Give users all rights, but don't give any rights to anonymous users
+ acl_rights_default = u""
+ acl_rights_before = u"Known:read,write,delete,revert,admin"
# Mail --------------------------------------------------------------
# Mail --------------------------------------------------------------