From 08d7c7f1e16b467a6c7121591610eb7bddf8e61a Mon Sep 17 00:00:00 2001 From: Peter Thoeny Date: Sat, 25 Nov 2000 08:11:28 +0000 Subject: none --- TWiki/TWikiInstallationGuide.mdwn | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/TWiki/TWikiInstallationGuide.mdwn b/TWiki/TWikiInstallationGuide.mdwn index f6f8e4ab..bf44bb9a 100644 --- a/TWiki/TWikiInstallationGuide.mdwn +++ b/TWiki/TWikiInstallationGuide.mdwn @@ -48,18 +48,18 @@ Installation steps: * Now add `ScriptAlias` for `/twiki/bin` and `Alias` for `/twiki` to file `httpd.conf` .
**_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 `httpd.conf` entries: - ScriptAlias /twiki/bin/ "/home/httpd/twiki/bin/" - Alias /twiki/ "/home/httpd/twiki/pub/" - - Options +ExecCGI - SetHandler cgi-script - Allow from all - - - Options FollowSymLinks +Includes - AllowOverride None - Allow from all - +
 ScriptAlias /twiki/bin/ "/home/httpd/twiki/bin/"
+ Alias /twiki/ "/home/httpd/twiki"
+ <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: @@ -278,4 +278,4 @@ Directory `twiki/pub/icn/` : -rw-rw-r-- 1 twiki twiki 152 Mar 9 1999 xls.gif -rw-rw-r-- 1 twiki twiki 144 Mar 9 1999 zip.gif --- [[Main/PeterThoeny]] - 13 Nov 2000
+-- [[Main/PeterThoeny]] - 24 Nov 2000
-- cgit v1.2.3