`
duhuilin01
  • 浏览: 884660 次
  • 性别: Icon_minigender_1
  • 来自: 湖南省
社区版块
存档分类
最新评论
文章列表
options_no_group_name = {   # ==========================================================================   'session': ('Session settings', "Session-related settings, see HelpOnSessions.", (     ('session_handler', DefaultExpression('session.DefaultSessionHandler()'),      "See HelpOnSe ...
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 ...
        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 ...
    # 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 ...
        # 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 ...
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') ...
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 ...
# -*- 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: ...
# # 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 # ...
<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 ...
<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 ...
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. ...
# 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 ...
#! 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 ...
    # 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) ...
Global site tag (gtag.js) - Google Analytics