Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r5  >  r4  ...
TWikiInstallationGuide 5 - 18 Jul 2000 - Main.PeterThoeny
Line: 4 to 4
 
Changed:
<
<
  • 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/
    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 .
    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."
Line: 243 to 257
 -rw-r--r-- 1 twiki twiki 144 Mar 27 1999 zip.gif
Changed:
<
<
-- PeterThoeny? - 24 May 2000
>
>
-- PeterThoeny? - 17 Jul 2000

Revision 5r5 - 18 Jul 2000 - 05:40:14 - PeterThoeny?
Revision 4r4 - 30 Jun 2000 - 18:16:42 - PeterThoeny?
This site is powered by the TWiki collaboration platform.
All material on this collaboration platform is the property of the contributing authors.
All material marked as authored by Eben Moglen is available under the license terms CC-BY-SA version 4.
Syndicate this site RSSATOM