diff --git a/doc/forum/Password_protect_whole_wiki/comment_1_5d363401f953ee7a45c50f3275eb9151._comment b/doc/forum/Password_protect_whole_wiki/comment_1_5d363401f953ee7a45c50f3275eb9151._comment new file mode 100644 index 000000000..a4ec4fa92 --- /dev/null +++ b/doc/forum/Password_protect_whole_wiki/comment_1_5d363401f953ee7a45c50f3275eb9151._comment @@ -0,0 +1,16 @@ +[[!comment format=mdwn + username="smcv" + avatar="http://cdn.libravatar.org/avatar/0ee943fe632ff995f6f0f25b7167d03b" + subject="Do that through your web server, not ikiwiki" + date="2017-01-18T21:45:30Z" + content=""" +ikiwiki is a wiki compiler (or a static site generator if you prefer): when it +builds your wiki, the result is static HTML. When a visitor views a page, +no ikiwiki code is running. + +If you want viewing to be restricted, you need to configure your web server +(Apache or lighttpd or nginx or similar) to restrict it. For example, if +your web server is Apache, +[this page on Apache access control](https://httpd.apache.org/docs/2.4/howto/access.html) +might help. +"""]]