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
Customized versions of
InstallStepProtectConfigure:
This topic: Support
> InstallStepProtectConfigure
Topic revision:
20 Jan 2010, IsaacLin
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. 
