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

Installing Foswiki: Configuring your web server to protect the configure script

To limit access to a particular user using your web server's basic authentication, set up a .htpasswd file that contains the user name and password that Apache will use to authenticate the user:
  • Change to the foswiki/data directory.
  • Issue the command htpasswd -c .htpasswd <username>, where <username> is the name of the user you will use to access the configure script. Choose the username with care: the username cannot be an existing login name for your Foswiki installation, nor can it be used later on to register in Foswiki. Enter a password when prompted.

The Foswiki:Support.ApacheConfigGenerator tool and the sample config files and .htaccess files show how to configure Apache so that the configure web page will be protected using the user and password held in the data/.htpasswd file. The Apache config file or .htaccess file will have a Require user <username> directive to restrict access to the configure script. Ensure the user specified in the directive matches the <username> you used when creating the .htpasswd file.

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

  • Set IGVariant =

Customized versions of InstallStepProtectConfigure:

Topic revision: r1 - 20 Jan 2010, IsaacLin
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy