diff options
author | Peter Thoeny <web-hurd@gnu.org> | 2000-07-18 05:40:14 +0000 |
---|---|---|
committer | Peter Thoeny <web-hurd@gnu.org> | 2000-07-18 05:40:14 +0000 |
commit | d44a86ad9d19bc6f764145ce9948d1200b240ecf (patch) | |
tree | 2139c81da492b118381b977f6d852c93d3d71171 /TWiki/TWikiInstallationGuide.mdwn | |
parent | 92ff0c3cb5dbd19e3a0650ca9e03bab1d17b4a06 (diff) |
none
Diffstat (limited to 'TWiki/TWikiInstallationGuide.mdwn')
-rw-r--r-- | TWiki/TWikiInstallationGuide.mdwn | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/TWiki/TWikiInstallationGuide.mdwn b/TWiki/TWikiInstallationGuide.mdwn index 32ea3958..5067573a 100644 --- a/TWiki/TWikiInstallationGuide.mdwn +++ b/TWiki/TWikiInstallationGuide.mdwn @@ -4,9 +4,24 @@ These installation steps use the Apache web server on Linux as an example. TWiki * Request the TWiki distribution (in Unix ZIP format) from <http://TWiki.SourceForge.net/download.html> . * Create directory `/home/httpd/twiki` and unzip the TWiki distribution to this directory. -* The `twiki/bin` directory of TWiki must be set as a cgi-bin directory. Add `/home/httpd/twiki/bin` to `/etc/httpd/conf/access.conf` with only `ExecCGI` option. -* The `twiki/pub` directory of TWiki must be set so that it is visible as a URL. Add `/home/httpd/twiki` to `/etc/httpd/conf/access.conf` with normal access options (copy from /home/httpd/html). -* Now add `ScriptAlias` for `/twiki/bin` and `Alias` for `/twiki` to `/etc/httpd/conf/srm-conf` . Example: <br />`ScriptAlias /twiki/bin/ /home/httpd/twiki/bin/`<br />`Alias /twiki/ /home/httpd/twiki/`<br />**_Note:_** The `ScriptAlias` **must** come before the `Alias` in Apache, otherwise it will fail to correctly set up `/twiki/bin/` , due to the fact that it sees that as being just another subdirectory of the `/twiki/` alias. +* The `twiki/bin` directory of TWiki must be set as a cgi-bin directory. Add `/home/httpd/twiki/bin` to file `/etc/httpd/conf/http.conf` with only `ExecCGI` option. +* The `twiki/pub` directory of TWiki must be set so that it is visible as a URL. Add `/home/httpd/twiki` to file `http.conf` with normal access options (copy from `/home/httpd/html` ). +* Now add `ScriptAlias` for `/twiki/bin` and `Alias` for `/twiki` to file `http.conf` . <br />**_Note:_** The `ScriptAlias` **must** come before the `Alias` in Apache, otherwise it will fail to correctly set up `/twiki/bin/` , due to the fact that it sees that as being just another subdirectory of the `/twiki/` alias. +* Here are example `http.conf` entries: + + ScriptAlias /twiki/bin/ "/home/httpd/twiki/bin/" + Alias /twiki/ "/home/httpd/twiki/pub/" + <Directory "/home/httpd/twiki/bin"> + Options +ExecCGI + SetHandler cgi-script + Allow from all + </Directory> + <Directory "/home/httpd/twiki/pub"> + Options FollowSymLinks +Includes + AllowOverride None + Allow from all + </Directory> + * Restart Apache by `/etc/rc.d/rc5.d/S85httpd restart` . * Test if the `twiki/bin` directory is cgi-enabled: * Enter the URL of that directory into your browser ( `http://your.domain.com/twiki/bin` ). It is not set correctly as cgi-bin in case you get something like `"Index of /twiki/bin"` . It is OK if you get a message like `"Forbidden. You don't have permission to access /twiki/bin/ on this server."` @@ -226,4 +241,4 @@ directory `twiki/pub/icn/` : -rw-r--r-- 1 twiki twiki 152 Mar 27 1999 xls.gif -rw-r--r-- 1 twiki twiki 144 Mar 27 1999 zip.gif --- [[Main/PeterThoeny]] - 24 May 2000 <br /> +-- [[Main/PeterThoeny]] - 17 Jul 2000 <br /> |