Next step: %IGStepNextText%Up: Configure the web server
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: