OSS Group OSS Group
>  Карта
>  Поиск
>  Контакты
>  OSS Group  ::  Admin  ::  Типовая конфигурация wiki OddMuse
  
РегистрацияЗабыли пароль?

↓  Быстрый поиск по Wiki


Режим поиска:   И   ИЛИ

↓  Доступные Wiki

↓  Навигация по сайту

[]

↓  Последняя новость

Загрузка...

↓  На эту страницу ссылаются:

Get Firefox!
[~]

Типовая конфигурация wiki OddMuse

# == Configuration ==

# Can be set outside the script: $DataDir, $UseConfig, $ConfigFile,
# $ConfigPage, $AdminPass, $EditPass, $ScriptName, $FullUrl, $RunCGI.

# $RunCGI	     = 1  unless defined $RunCGI; # 1 = Run script as CGI instead of being a library
$UsePathInfo = 1;   # 1 = allow page views using wiki.pl/PageName
$UseCache    = 2;   # -1 = disabled, 0 = 10s; 1 = partial HTML cache; 2 = HTTP/1.1 caching

# Basics
$SiteName    = 'Main';	   # Name of site (used for titles)
$HomePage    = 'HomePage'; # Home page
$CookieName  = 'wiki/main';	   # Name for this wiki (for multi-wiki sites)

# Fix if defaults do not work
$SiteBase    = '';  # Full URL for <BASE> header
$MaxPost     = 1024 * 1210; # Maximum 210K posts (about 200K for pages)
$HttpCharset = 'UTF-8'; # You are on your own if you change this!

# EyeCandy
$StyleSheet  = '/css/wiki.css';  # URL for CSS stylesheet (like '/wiki.css')
$StyleSheetPage = ''; # Page for CSS sheet
$LogoUrl     = '';  # URL for site logo ('' for no logo)
$NotFoundPg  = '';  # Page for not-found links ('' for blank pg)
$NewText     = "Describe the new page here.\n";	 # New page text
$NewComment  = "Add your comment here.\n";	 # New comment text

# HardSecurity
$EditAllowed = 1;   # 0 = no, 1 = yes, 2 = comments only
$AdminPass   = '' unless defined $AdminPass; # Whitespace separated passwords.
$EditPass    = '' unless defined $EditPass; # Whitespace separated passwords.
$BannedHosts = 'BannedHosts'; # Page for banned hosts
$BannedCanRead = 1; # 1 = banned cannot edit, 0 = banned cannot read
$BannedContent = 'BannedContent'; # Page for banned content (usually for link-ban)

# LinkPattern
$WikiLinks   = 1;   # 1 = LinkPattern is a link
$FreeLinks   = 1;   # 1 = [[some text]] is a link
$BracketText = 1;   # 1 = [URL desc] uses a description for the URL
$BracketWiki = 0;   # 1 = [WikiLink desc] uses a desc for the local link
$HtmlLinks   = 1;   # 1 = <a href="foo">desc</a> is a link
$NetworkFile = 0;   # 1 = file: is a valid protocol for URLs
$AllNetworkFiles = 0; # 1 = file:///foo is allowed -- the default allows only file://foo
$PermanentAnchors = 1;	 # 1 = [::some text] defines permanent anchors (page aliases)
$InterMap    = 'InterMap'; # name of the intermap page
$NearMap     = 'NearMap';  # name of the nearmap page
$RssInterwikiTranslate = 'RssInterwikiTranslate'; # name of RSS interwiki translation page

# Other TextFormattingRules
$HtmlTags    = 1;   # 1 = allow some 'unsafe' HTML tags
$RawHtml     = 0;   # 1 = allow <HTML> environment for raw HTML inclusion

# Diff
$ENV{PATH}   = '/usr/bin/'; # Path used to find 'diff'
$UseDiff     = 1;	    # 1 = use diff

# Visitors and SurgeProtection
$SurgeProtection      = 1;	# 1 = protect against leeches
$Visitors	      = 1;	# 1 = maintain list of recent visitors
$VisitorTime	      = 7200;	# Timespan to remember visitors in seconds
$SurgeProtectionTime  = 20;	# Size of the protected window in seconds
$SurgeProtectionViews = 10;	# How many page views to allow in this window
$RefererTracking      = 0;	# Keep track of referrals to your pages
$RefererTimeLimit     = 86400;	# How long referrals shall be remembered in seconds
$RefererLimit	      = 15;	# How many different referer shall be remembered
$RefererFilter = 'ReferrerFilter'; # name of the filter pg

# RecentChanges and KeptPages
$DeletedPage = 'DeletedPage';	# Pages starting with this can be deleted
$RCName	     = 'RecentChanges'; # Name of changes page
@RcDays	     = qw(1 3 7 30 90); # Days for links on RecentChanges
$RcDefault   = 30;  # Default number of RecentChanges days
$KeepDays    = 14;  # Days to keep old revisions
$KeepMajor   = 1;   # 1 = keep at least one major rev when expiring pages
$ShowEdits   = 0;   # 1 = major and show minor edits in recent changes
$UseLookup   = 1;   # 1 = lookup host names instead of using only IP numbers
$RecentTop   = 1;   # 1 = most recent entries at the top of the list
$RecentLink  = 1;   # 1 = link to usernames
$PageCluster = '';  # name of cluster page, eg. 'Cluster' to enable

# RSS and other Weblog Technology
$InterWikiMoniker = ''; # InterWiki prefix for this wiki for RSS
$SiteDescription  = ''; # RSS Description of this wiki
$RssImageUrl	  = ''; # URL to image to associate with your RSS feed
$RssPublisher	  = ''; # Name of RSS publisher
$RssContributor	  = ''; # List or description of the contributors
$RssRights	  = ''; # Copyright notice for RSS

# File uploads
$UploadAllowed	  = 1;	# 1 = yes, 0 = administrators only
@UploadTypes	  = (); # MIME types allowed, all allowed if empty list

# Header and Footer, Notes, GotoBar
$EmbedWiki   = 0;	# 1 = no headers/footers
$FooterNote  = '';	# HTML for bottom of every page
$EditNote    = '';	# HTML notice above buttons on edit page
$TopLinkBar  = 1;	# 1 = add a goto bar at the top of the page
@UserGotoBarPages = ( 'HomePage' ); # List of pagenames
$UserGotoBar = '';	# HTML added to end of goto bar
$ValidatorLink = 1;	# 1 = Link to the W3C HTML validator service
$CommentsPrefix = 'Comments_on_';	# prefix for comment pages, eg. 'Comments_on_' to enable
$HtmlHeaders = '';	# Additional stuff to put in the HTML <head> section

# Display short comments below the GotoBar for special days
# Example: %SpecialDays = ('1-1' => 'New Year', '1-2' => 'Next Day');
%SpecialDays = ();

# Replace regular expressions with inlined images
# Example: %Smilies = (":-?D(?=\\W)" => '/pics/grin.png');
%Smilies = ();

# Detect page languages when saving edits
# Example: %Languages = ('de' => '\b(der|die|das|und|oder)\b');
%Languages = ();

$IndentLimit = 20;		    # Maximum depth of nested lists
$LanguageLimit = 3;		    # Number of matches req. for each language
# $SisterSiteLogoUrl = 'file:///tmp/oddmuse/%s.png'; # URL format string for logos

#-------- Modules config ------------
$CalendarOnEveryPage=0;

%ThemeStyleSheets = (
	'default' => '/css/wiki.css',
	'blue' => '/css/blue.css',
	'ruby' => '/css/ruby.css',
	'useit' => '/css/useit.css',
	);



Дата создания: 2006-05-24 16:56:18 (Фетисов Н. А. (naf))
Последнее изменение: 2006-05-24 16:56:18 (Фетисов Н. А. (naf))
Владелец: Фетисов Н. А. (naf)
Версия: 1


  Не показывать комментарии



Wiki::Admin   Оглавление  Карта раздела  Изменения за сутки  Изменения за неделю  Изменения за месяц



Valid XHTML 1.0 Transitional  Valid CSS!  [Valid RSS]