cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
Next step: %IGStepNextText%
Up: Configure the web server

Installing Foswiki: Using an Apache .htaccess file

In the root of the foswiki installation and in the bin directory, there are sample .htaccess files for various subdirectories in your installation. Each file has help text explaining how to modify it for your configuration. For more information, see Foswiki:Support.SupplementalDocuments.

location and name of sample .htaccess file copy sample file to the following location
foswiki/root-htaccess.txt foswiki/.htaccess
foswiki/bin/.htaccess.txt foswiki/bin/.htaccess
foswiki/pub-htaccess.txt foswiki/pub/.htaccess
foswiki/subdir-htaccess.txt .htaccess in all other subdirectories below foswiki

Ensure that web access is denied to all Foswiki subdirectories other than bin and pub. The sample .htaccess files show how to configure Apache appropriately.

Ensure that the foswiki/bin/.htaccess files contains the line SetHandler cgi-script so that all scripts in the bin directory will be executed by Apache.

Next step: %IGStepNextText%
Up: Configure the web server

  • Set IGVariant =

Customized versions of InstallStepApacheHtaccessFile:
Topic revision: r2 - 18 Jan 2010, IsaacLin - This page was cached on 23 Mar 2018 - 03:41.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License