From 1f96a6beacf87c7f5c4e17fdd83d67a2e9f571cb Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Fri, 30 Jun 2000 18:16:42 +0000 Subject: none --- TWiki/TWikiInstallationGuide.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TWiki') diff --git a/TWiki/TWikiInstallationGuide.mdwn b/TWiki/TWikiInstallationGuide.mdwn index 7c6d62db..32ea3958 100644 --- a/TWiki/TWikiInstallationGuide.mdwn +++ b/TWiki/TWikiInstallationGuide.mdwn @@ -6,7 +6,7 @@ These installation steps use the Apache web server on Linux as an example. TWiki * 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:
`ScriptAlias /twiki/bin/ /home/httpd/twiki/bin/`
`Alias /twiki/ /home/httpd/twiki/` +* Now add `ScriptAlias` for `/twiki/bin` and `Alias` for `/twiki` to `/etc/httpd/conf/srm-conf` . Example:
`ScriptAlias /twiki/bin/ /home/httpd/twiki/bin/`
`Alias /twiki/ /home/httpd/twiki/`
**_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. * 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."` -- cgit v1.2.3