DokuWiki on Redbrick: Difference between revisions

From Redbrick Wiki
Jump to navigation Jump to search
(First draft)
 
(Remove legacy information.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[http://wiki.splitbrain.org/wiki:dokuwiki DokuWiki] is a nice and simple [[Help:What is a wiki|wiki]] that is relatively easy to install in your Redbrick account/webspace. To make things more interesting, you can [http://thedeadone.net/software/getting-dokuwiki-to-use-wordpress-authentication/ integrate the login (and template) with] your [[Installing Wordpress on Redbrick|Wordpress]] blog software (if you use it on Redbrick).
[http://wiki.splitbrain.org/wiki:dokuwiki DokuWiki] is a nice and simple [[Help:What is a wiki|wiki]] that is relatively easy to install in your Redbrick account/webspace. To make things more interesting, you can [http://thedeadone.net/software/getting-dokuwiki-to-use-wordpress-authentication/ integrate the login (and template) with] your [[Installing Wordpress on Redbrick|Wordpress]] blog software (if you use it on Redbrick).


[http://wiki.splitbrain.org/wiki%3AInstall You just need to follow the normal instructions to install it.] However, because it's a PHP application, it won't run out of the box. You need to add '#!/usr/local/bin/php' to the beginning of any PHP file that is executed directly.
[http://wiki.splitbrain.org/wiki%3AInstall You just need to follow the normal instructions to install it.]
You can then configure it, as per the [http://wiki.splitbrain.org/wiki:dokuwiki DokuWiki instructions] anyway you like.


As of version '''2006-03-09d''', the files to modify are:
Unlike Wordpress, DokuWiki has built in support for running behind a proxy. To enable the proxy, you need to configure it in 'conf/local.php' with these lines:
doku.php
feed.php
index.php
lib/exe/ajax.php
lib/exe/css.php
lib/exe/detail.php
lib/exe/fetch.php
lib/exe/indexer.php
lib/exe/js.php
lib/exe/media.php
lib/exe/spellcheck.php
 
If your really lazy, heres a command to do it automatically. Run it directly from where you installed DokuWiki:
 
perl -i.bak -ple 'print "#!/usr/local/bin/php" if $. eq 1; close ARGV if eof;' doku.php feed.php index.php lib/exe/ajax.php lib/exe/css.php lib/exe/detail.php lib/exe/fetch.php lib/exe/indexer.php lib/exe/js.php lib/exe/media.php lib/exe/spellcheck.php
 
You can then configure it, as per the [http://wiki.splitbrain.org/wiki:dokuwiki DokuWiki instructions] anyway you like. However it should be noted that 'aspell' is currently not installed on 'deathray' and therefore the spellchecker will not work. Also, unlike Wordpress, DokuWiki has built in support for running behind a proxy. To enable the proxy, you need to configure it in 'conf/local.php' with these lines:


  $conf['proxy']['host'] = "proxy.dcu.ie";
  $conf['proxy']['host'] = "proxy.dcu.ie";
  $conf['proxy']['port'] = "8080";
  $conf['proxy']['port'] = "8080";
[[Category:HowTo]]

Latest revision as of 20:40, 28 September 2010

DokuWiki is a nice and simple wiki that is relatively easy to install in your Redbrick account/webspace. To make things more interesting, you can integrate the login (and template) with your Wordpress blog software (if you use it on Redbrick).

You just need to follow the normal instructions to install it. You can then configure it, as per the DokuWiki instructions anyway you like.

Unlike Wordpress, DokuWiki has built in support for running behind a proxy. To enable the proxy, you need to configure it in 'conf/local.php' with these lines:

$conf['proxy']['host'] = "proxy.dcu.ie";
$conf['proxy']['port'] = "8080";