Kwiki installation without apache tweeks

Michael Lush mjlush at ebi.ac.uk
Tue Mar 18 14:31:34 GMT 2008



I'm migrating our kwiki to a new (managed) systems,  the install docs
indicate I need to tweek the apache config so the .css files are not run 
as CGI programs (see below)

Unfortunatly getting any admin stuff can be slow and I was wondering
what the 'second best way' involved.

[quote]

>From <http://www.kwiki.org/?InstallingKwiki2>
Basic CGI Setup

If using an apache web server, you might decide to put your kwiki in the 
default CGI directory (typically called cgi-bin), but if you do that, 
kwiki will seem to work, but will look strange because the icons and the 
CSS files will attempt to be run as CGI programs instead of being sent to 
the browser.

The best way (this assumes you have access to the web server's config 
file) is to install your kwiki somewhere and then set up the directory so 
that only .cgi files are executed; everything else goes to the browser.

Alias /mykwiki/ "/home/peregrin/Documents/Kwiki/mykwiki/"
<Directory /home/peregrin/Documents/Kwiki/mykwiki/>
      Order allow,deny
      Allow from all
      AllowOverride All
      Options ExecCGI
      AddHandler cgi-script .cgi
      DirectoryIndex index.cgi
</Directory>
[/quote]

--
Michael
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Michael John Lush PhD			Tel:44-1223 492626
Bioinformatician 
HUGO Gene Nomenclature Committee	Email: hgnc at genenames.org
European Bioinformatics Institute
Hinxton, Cambridge
URL: http://www.genenames.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


More information about the london.pm mailing list