01.12.2012 Views

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

7 Components: the Function Pages - Developers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

10.1.1<br />

Copying TWiki<br />

You can find <strong>the</strong> current version of TWiki under www.twiki.org or<br />

on <strong>the</strong> CD under /wikis/twiki. Copy <strong>the</strong> file TWiki20040902.tar.gz to<br />

a directory to which your server has access, e.g. /opt/lampp/<br />

htdocs/twiki. Unpack <strong>the</strong> archive with<br />

tar xvzf TWiki20040902.tar.gz<br />

This will generate a directory structure, and <strong>the</strong> files will be copied<br />

to <strong>the</strong>ir corresponding locations.<br />

10.1.2<br />

Configuring Apache<br />

We first have to adapt <strong>the</strong> Apache configuration file httpd.conf so<br />

that <strong>the</strong> access rights to <strong>the</strong> individual directories are correctly set.<br />

You will find this file in /opt/lampp/etc. The folder<br />

/opt/lampp/htdocs/twiki/bin must be given permission for <strong>the</strong> execution<br />

of scripts. To do this, add <strong>the</strong> following to httpd.conf:<br />

<br />

Options +ExecCGI<br />

SetHandler cgi-script<br />

AllowOverride All<br />

Allow from all<br />

<br />

The directory /opt/lampp/htdocs/twiki/pub must be accessible and<br />

viewable to all.<br />

<br />

Options FollowSymLinks +Includes<br />

AllowOverride None<br />

Allow from all<br />

<br />

On <strong>the</strong> o<strong>the</strong>r hand, <strong>the</strong> directories /opt/lampp/htdocs/twiki/data and<br />

/templates are not intended for <strong>the</strong> eyes of normal users.<br />

Determine<br />

executable<br />

directory<br />

Set up directory<br />

rights<br />

10.1 Installation under Linux �<br />

�<br />

�<br />

149

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!