From Fedora Project Wiki
m (1 revision(s))
 
Line 1: Line 1:
 
<!-- page was renamed from perl-Kwiki
 
<!-- page was renamed from perl-Kwiki
 
-->
 
-->
''Please note: This documentation is from memory, and needs to be tested. - StevenPritchard''
+
''Please note: This documentation is from memory, and needs to be tested. - [[StevenPritchard]]''
  
 
Setting up Kwiki is fairly trivial.
 
Setting up Kwiki is fairly trivial.
  
1. Install the main Kwiki package with <code>yum install perl-Kwiki</code> (or you can install Kwiki and all of the plugins currently packaged with <code>yum install perl-Kwiki\* </code>).
+
# Install the main Kwiki package with <code>yum install perl-Kwiki</code> (or you can install Kwiki and all of the plugins currently packaged with <code>yum install perl-Kwiki\* </code>).
1. Create a directory for the new Kwiki root (<code>mkdir /var/www/kwiki</code>).
+
# Create a directory for the new Kwiki root (<code>mkdir /var/www/kwiki</code>).
1. Run <code>kwiki -new /var/www/kwiki</code> and <code>kwiki -update /var/www/kwiki</code> to initialize the Kwiki root.
+
# Run <code>kwiki -new /var/www/kwiki</code> and <code>kwiki -update /var/www/kwiki</code> to initialize the Kwiki root.
1. Point httpd at the new Kwiki root.  If you <code>yum install perl-Kwiki-ModPerl</code>, something like this (in <code>/etc/httpd/conf.d/kwiki.conf</code>, for example) will work:<code>
+
# Point httpd at the new Kwiki root.  If you <code>yum install perl-Kwiki-ModPerl</code>, something like this (in <code>/etc/httpd/conf.d/kwiki.conf</code>, for example) will work:
Alias /kwiki /var/www/kwiki
+
Alias /kwiki /var/www/kwiki
<Directory "/var/www/kwiki">
+
<Directory "/var/www/kwiki">
Order allow,deny
+
Order allow,deny
Allow from all
+
Allow from all
AllowOverride None
+
AllowOverride None
Options None
+
Options None
DirectoryIndex index.cgi
+
DirectoryIndex index.cgi
SetHandler perl-script
+
SetHandler perl-script
PerlSetVar KwikiBaseDir /var/www/kwiki
+
PerlSetVar KwikiBaseDir /var/www/kwiki
PerlHandler +Kwiki::ModPerl
+
PerlHandler +Kwiki::ModPerl
</Directory>
+
</Directory>
</pre>
+
 
  
 
More information can be found on the [http://www.kwiki.org/ Kwiki web site] .
 
More information can be found on the [http://www.kwiki.org/ Kwiki web site] .

Latest revision as of 21:38, 13 June 2008

Please note: This documentation is from memory, and needs to be tested. - StevenPritchard

Setting up Kwiki is fairly trivial.

  1. Install the main Kwiki package with yum install perl-Kwiki (or you can install Kwiki and all of the plugins currently packaged with yum install perl-Kwiki\* ).
  2. Create a directory for the new Kwiki root (mkdir /var/www/kwiki).
  3. Run kwiki -new /var/www/kwiki and kwiki -update /var/www/kwiki to initialize the Kwiki root.
  4. Point httpd at the new Kwiki root. If you yum install perl-Kwiki-ModPerl, something like this (in /etc/httpd/conf.d/kwiki.conf, for example) will work:
Alias /kwiki /var/www/kwiki
<Directory "/var/www/kwiki">
Order allow,deny
Allow from all
AllowOverride None
Options None
DirectoryIndex index.cgi
SetHandler perl-script
PerlSetVar KwikiBaseDir /var/www/kwiki
PerlHandler +Kwiki::ModPerl
</Directory>


More information can be found on the Kwiki web site .