Nginx Config Generator
This page creates an Apache configuration file
foswiki.conf
for your installation. (See
Help with this page if you don't understand some of the terminology used here.)
- Select your Foswiki and Apache version, and fill out the form.
- Press the "Update Config File" button
- Copy and paste the generated configuration into a new file in the same directory as httpd.conf
- Add a line to httpd.conf so Apache loads the new configuration file (e.g.
Include conf/foswiki.conf
)
- Note that the exact method of including a configuration file can vary by os and distribution. Consult your local apache documentation.
For setting up Middle Fork Home Wiki on Linux or Unix, see also
SettingFileAccessRightsLinuxUnix.
- Windows Users: enter all file paths using linux forward-slash style, like
C:/www/foswiki
. Don't use Windows style back-slash in the paths.
- Using a web hosting service and can't configure Apache? Do not bother using this page - edit the various .htaccess template files. See details in the installation guide.
Depending on the configuration you might get an error in Apache leading to a non-working configuration:
Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/foswiki/bin/configure
In this case you should think about your redirection policy. One fix is to add the line
Options +FollowSymLinks
to the configuration which applies to the base directory of the path mentioned in the error message (either as htaccess or
conditional in apache .conf)