vhost erstellen
mkdir -p /home/www.tiri.li cd /home/www.tiri.li darcs get http://dev.splitbrain.org/darcs/dokuwiki Copying patch 916 of 916... done! Applying patches to the "working" directory... ................................................... ................................................... ................................................... Finished getting. mkdir -p logs
apache-vhost-conf
<VirtualHost 82.165.36.13:80>
ServerAdmin webmaster@serviert.de
DocumentRoot /home/easycluster.de/dokuwiki
ServerName easycluster.de
ServerAlias www.easycluster.de
ErrorLog /home/easycluster.de/logs/easycluster.de-error_log
CustomLog /home/easycluster.de/logs/easycluster.de-access_log combined
<Directory /home/easycluster.de/dokuwiki>
Options FollowSymLinks
AllowOverride All
DirectoryIndex index.html index.php index.php3
php_value magic_quotes_gpc 0
</Directory>
</VirtualHost>
weitere anpassungen
> dokuwiki/data/changes.log > dokuwiki/sitemap.xml.gz
dokuwiki-conf-diff
diff -uNr conf.orig/acl.auth.php conf/acl.auth.php
--- conf.orig/acl.auth.php 1970-01-01 01:00:00.000000000 +0100
+++ conf/acl.auth.php 2006-02-13 13:41:30.373858360 +0100
@@ -0,0 +1,3 @@
+* @ALL 1
+* @upload 8
+* @delete 16
diff -uNr conf.orig/dokuwiki.php conf/dokuwiki.php
--- conf.orig/dokuwiki.php 2006-02-13 13:18:12.318395000 +0100
+++ conf/dokuwiki.php 2006-02-13 13:39:00.098703656 +0100
@@ -11,38 +11,38 @@
$conf['umask'] = 0111; //set the umask for new files
$conf['dmask'] = 0000; //directory mask accordingly
-$conf['lang'] = 'en'; //your language
+$conf['lang'] = 'de'; //your language
$conf['basedir'] = ''; //absolute dir from serveroot - blank for autodetection
$conf['baseurl'] = ''; //URL to server including protocol - blank for autodetect
$conf['savedir'] = './data'; //where to store all the files
-$conf['allowdebug'] = 1; //make debug possible, disable after install! 0|1
+$conf['allowdebug'] = 0; //make debug possible, disable after install! 0|1
/* Display Options */
$conf['start'] = 'start'; //name of start page
-$conf['title'] = 'DokuWiki'; //what to show in the title
+$conf['title'] = 'easycluster'; //what to show in the title
$conf['template'] = 'default'; //see tpl directory
$conf['fullpath'] = 0; //show full path of the document or relative to datadir only? 0|1
$conf['recent'] = 20; //how many entries to show in recent
$conf['breadcrumbs'] = 10; //how many recent visited pages to show
$conf['typography'] = 1; //convert quotes, dashes and stuff to typographic equivalents? 0|1
-$conf['htmlok'] = 0; //may raw HTML be embedded? This may break layout and XHTML validity 0|1
+$conf['htmlok'] = 1; //may raw HTML be embedded? This may break layout and XHTML validity 0|1
$conf['phpok'] = 0; //may PHP code be embedded? Never do this on the internet! 0|1
-$conf['dformat'] = 'Y/m/d H:i'; //dateformat accepted by PHPs date() function
+$conf['dformat'] = 'd.m.Y H:i'; //dateformat accepted by PHPs date() function
$conf['signature'] = ' --- //[[@MAIL@|@NAME@]] @DATE@//'; //signature see wiki:config for details
$conf['toptoclevel'] = 1; //Level starting with and below to include in AutoTOC (max. 5)
$conf['maxtoclevel'] = 3; //Up to which level include into AutoTOC (max. 5)
$conf['maxseclevel'] = 3; //Up to which level create editable sections (max. 5)
$conf['camelcase'] = 0; //Use CamelCase for linking? (I don't like it) 0|1
$conf['deaccent'] = 1; //deaccented chars in pagenames (1) or romanize (2) or keep (0)?
-$conf['useheading'] = 0; //use the first heading in a page as its name
+$conf['useheading'] = 1; //use the first heading in a page as its name
$conf['refcheck'] = 1; //check for references before deleting media files
$conf['refshow'] = 0; //how many references should be shown, 5 is a good value
/* Antispam Features */
$conf['usewordblock']= 1; //block spam based on words? 0|1
-$conf['indexdelay'] = 60*60*24*5; //allow indexing after this time (seconds) default is 5 days
+$conf['indexdelay'] = 60*60*12; //allow indexing after this time (seconds) --> 12 Std.
$conf['relnofollow'] = 1; //use rel="nofollow" for external links?
$conf['mailguard'] = 'hex'; //obfuscate email addresses against spam harvesters?
//valid entries are:
@@ -51,19 +51,19 @@
// 'none' - do not obfuscate addresses
/* Authentication Options - read http://www.splitbrain.org/dokuwiki/wiki:acl */
-$conf['useacl'] = 0; //Use Access Control Lists to restrict access?
+$conf['useacl'] = 1; //Use Access Control Lists to restrict access?
$conf['openregister']= 1; //Should users to be allowed to register?
$conf['autopasswd'] = 1; //autogenerate passwords and email them to user
$conf['resendpasswd']= 0; //allow resend password function?
$conf['authtype'] = 'plain'; //which authentication backend should be used
$conf['passcrypt'] = 'smd5'; //Used crypt method (smd5,md5,sha1,ssha,crypt,mysql,my411)
$conf['defaultgroup']= 'user'; //Default groups new Users are added to
-$conf['superuser'] = '!!not set!!'; //The admin can be user or @group
+$conf['superuser'] = '@admin'; //The admin can be user or @group
$conf['profileconfirm'] = '1'; //Require current password to confirm changes to user profile
/* Advanced Options */
-$conf['userewrite'] = 0; //this makes nice URLs: 0: off 1: .htaccess 2: internal
-$conf['useslash'] = 0; //use slash instead of colon? only when rewrite is on
+$conf['userewrite'] = 2; //this makes nice URLs: 0: off 1: .htaccess 2: internal
+$conf['useslash'] = 1; //use slash instead of colon? only when rewrite is on
$conf['sepchar'] = '_'; //word separator character in page names; may be a
// letter, a digit, '_', '-', or '.'.
$conf['canonical'] = 0; //Should all URLs use full canonical http://... style?
@@ -79,7 +79,7 @@
$conf['spellchecker']= 0; //enable Spellchecker (needs PHP >= 4.3.0 and aspell installed)
$conf['subscribers'] = 0; //enable change notice subscription support
$conf['compress'] = 1; //Strip whitespaces and comments from Styles and JavaScript? 1|0
-$conf['hidepages'] = ''; //Regexp for pages to be skipped from RSS, Search and Recent Changes
+$conf['hidepages'] = 'sidebar'; //Regexp for pages to be skipped from RSS, Search and Recent Changes
$conf['send404'] = 0; //Send a HTTP 404 status for non existing pages?
$conf['sitemap'] = 0; //Create a google sitemap? How often? In days.
$conf['rss_type'] = 'rss1'; //type of RSS feed to provide, by default:
diff -uNr conf.orig/local.php conf/local.php
--- conf.orig/local.php 1970-01-01 01:00:00.000000000 +0100
+++ conf/local.php 2006-02-13 13:40:17.107996464 +0100
@@ -0,0 +1,14 @@
+<?php
+/*
+ This is an example of how a local.php coul look like.
+ Simply copy the options you want to change from dokuwiki.php
+ to this file and change them
+ */
+
+$conf['plugin_uparrow']['image'] = 'arrow-up.png';
+
+$conf['amazon_dev']="";
+$conf['amazon_id']="tirili-21";
+$conf['amazon_xml']="http://xml-eu.amazon.com/onca/xml3?";
+
+?>
diff -uNr conf.orig/users.auth.php conf/users.auth.php
--- conf.orig/users.auth.php 1970-01-01 01:00:00.000000000 +0100
+++ conf/users.auth.php 2006-02-13 13:43:56.729608904 +0100
@@ -0,0 +1,11 @@
+# users.auth.php
+# <?php exit()?>
+# user:MD5password:Real Name:email:groups,comma,seperated
+admin:8d2c...530bb2d72038971f20...0d5a:Administrator:em@il.dress:admin
conf/dokuwiki.php
$conf['userewrite'] = 1; //this makes nice URLs: 0: off 1: .htaccess 2: internal
.htaccess
Options -Indexes -MultiViews
## make sure nobody gets the htaccess files
<Files ~ "^[\._]ht">
Order allow,deny
Deny from all
Satisfy All
</Files>
RewriteEngine on
RewriteRule ^_media/(.*) lib/exe/fetch.php?media=$1 [QSA,L]
RewriteRule ^_detail/(.*) lib/exe/detail.php?media=$1 [QSA,L]
RewriteRule ^$ doku.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) doku.php?id=$1 [QSA,L]
RewriteRule ^index.php$ doku.php
http://dokuwiki.splitbrain.org/plugin:navilevel
http://dokuwiki.splitbrain.org/plugin:iframe
http://www.chimeric.de/dokuwiki/plugins/uparrow
http://dokuwiki.splitbrain.org/plugin:code
http://dokuwiki.splitbrain.org/plugin:source
http://inhalt.serviert.de/wiki/plugin/amazon
http://www.csik.net/project:flickr
http://dokuwiki.splitbrain.org/plugin:side_note
http://dokuwiki.splitbrain.org/plugin:ifauth
http://dokuwiki.splitbrain.org/plugin:multinamespace
http://dokuwiki.splitbrain.org/plugin:stats
http://dokuwiki.splitbrain.org/plugin:var
http://wiki.splitbrain.org/plugin:lists
http://wiki.splitbrain.org/plugin:code