1 [[!template id=plugin name=httpauth author="Alec Berryman"]]
4 This plugin allows HTTP basic authentication to be used to log into the
7 ## fully authenticated wiki
9 One way to use the plugin is to configure your web server to require
10 HTTP basic authentication for any access to the directory containing the
11 wiki (and `ikiwiki.cgi`). The authenticated user will be automatically
12 signed into the wiki. This method is suitable only for private wikis.
14 ## separate cgiauthurl
16 To use httpauth for a wiki where the content is public, and where
17 the `ikiwiki.cgi` needs to be usable without authentication (for searching,
18 or logging in using other methods, and so on), you can configure a separate
19 url that is used for authentication, via the `cgiauthurl` option in the setup
20 file. This url will then be redirected to when a user chooses to log in using
23 A typical setup is to make an `auth` subdirectory, and symlink `ikiwiki.cgi`
24 into it. Then configure the web server to require authentication only for
25 access to the `auth` subdirectory. Then `cgiauthurl` is pointed at this