- 浏览: 884660 次
- 性别:
- 来自: 湖南省
最新评论
文章列表
options_no_group_name = {
# ==========================================================================
'session': ('Session settings', "Session-related settings, see HelpOnSessions.", (
('session_handler', DefaultExpression('session.DefaultSessionHandler()'),
"See HelpOnSe ...
- 2009-09-04 11:46
- 浏览 665
- 评论(0)
Make sure your data directory path is correct, check permissions, and
that the data/plugin directory has an __init__.py file.
""" % {
'path': pdir,
'err': str(err),
}
raise error.ConfigurationError(msg)
def _fillDicts(self):
""" fill conf ...
- 2009-09-04 11:45
- 浏览 706
- 评论(0)
for name in decode_names:
attr = getattr(self, name, None)
if attr:
# Try to decode strings
if isinstance(attr, str):
try:
setattr(self, name, unicode(attr, charset))
except ...
- 2009-09-04 11:35
- 浏览 755
- 评论(0)
# lazily load iwid(_full)
def make_iwid_property(attr):
def getter(self):
if getattr(self, attr, None) is None:
self.load_IWID()
return getattr(self, attr)
return property(getter)
iwid = make_iwid_property("_iwid")
iwid ...
- 2009-09-04 11:34
- 浏览 605
- 评论(0)
# check if python-xapian is installed
if self.xapian_search:
try:
import xapian
except ImportError, err:
self.xapian_search = False
logging.error("xapian_search was auto-disabled because python-xapian is not ...
- 2009-09-04 11:33
- 浏览 745
- 评论(0)
def __init__(self, siteid):
""" Init Config instance """
self.siteid = siteid
self.cache = CacheClass()
from MoinMoin.Page import ItemCache
self.cache.meta = ItemCache('meta')
self.cache.pagelists = ItemCache('pagelists')
...
- 2009-09-04 11:32
- 浏览 651
- 评论(0)
def _makeConfig(name):
""" Create and return a config instance
Timestamp config with either module mtime or farmconfig mtime. This
mtime can be used later to invalidate older caches.
@param name: module name
@rtype: DefaultConfig sub class instance
@return: ne ...
- 2009-09-04 11:31
- 浏览 673
- 评论(0)
# -*- coding: iso-8859-1 -*-
"""
MoinMoin - Multiple configuration handler and Configuration defaults class
@copyright: 2000-2004 Juergen Hermann <jh@web.de>,
2005-2008 MoinMoin:ThomasWaldmann.
2008 MoinMoin:JohannesBerg
@license: ...
- 2009-09-04 11:30
- 浏览 735
- 评论(0)
#
# EnableMMAP and EnableSendfile: On systems that support it,
# memory-mapping or the sendfile syscall is used to deliver
# files. This usually improves server performance, but must
# be turned off when serving from networked-mounted
# filesystems or if support for these functions is otherwise
# ...
- 2009-09-04 11:28
- 浏览 626
- 评论(0)
<IfModule cgid_module>
#
# ScriptSock: On threaded servers, designate the path to the UNIX
# socket used to communicate with the CGI daemon of mod_cgid.
#
#Scriptsock logs/cgisock
</IfModule>
#
# "C:/Apache/cgi-bin" should be changed to whatever your ScriptA ...
- 2009-09-04 11:10
- 浏览 570
- 评论(0)
<Directory "C:/Python/share/moin/htdocs/">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews&q ...
- 2009-09-04 11:09
- 浏览 727
- 评论(0)
LoadModule isapi_module modules/mod_isapi.so
#LoadModule ldap_module modules/mod_ldap.so
#LoadModule logio_module modules/mod_logio.so
LoadModule log_config_module modules/mod_log_config.so
#LoadModule log_forensic_module modules/mod_log_forensic.so
#LoadModule mem_cache_module modules/mod_mem_cache. ...
- 2009-09-04 11:07
- 浏览 699
- 评论(0)
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.htm ...
- 2009-09-04 11:06
- 浏览 628
- 评论(0)
#! C:/Python/python
# -*- coding: gb18030 -*-
"""
MoinMoin - CGI Driver Script
@copyright: 2000-2005 by Juergen Hermann <jh@web.de>,
2008 by MoinMoin:ThomasWaldmann
@license: GNU GPL, see COPYING for details.
"""
import sys, os
# a) C ...
- 2009-09-04 11:04
- 浏览 689
- 评论(0)
# IMPORTANT: grant yourself admin rights! replace YourName with
# your user name. See HelpOnAccessControlLists for more help.
# All acl_rights_xxx options must use unicode [Unicode]
#acl_rights_before = u"YourName:read,write,delete,revert,admin"
# The default (ENABLED) ...
- 2009-09-04 11:02
- 浏览 15201
- 评论(0)