We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dba34af commit b258066Copy full SHA for b258066
lighttpd.conf
@@ -0,0 +1,21 @@
1
+
2
3
+$HTTP["host"] =~ "^.*\.perl-tutorial.org$" {
4
+ url.redirect = ( "" => "http://perl-tutorial.org" )
5
+}
6
7
+$HTTP["host"] =~ "^perl-tutorial.org$" {
8
+ cgi.assign = ( "ikiwiki.cgi" => "", )
9
+ server.document-root = "/home/perltuthub/public_html/PerlTutorialHub"
10
+ accesslog.filename = "/var/log/lighttpd-perl-tuthub/access.log"
11
12
+ auth.backend = "htpasswd"
13
+ auth.backend.htpasswd.userfile = "/home/perltuthub/.htpasswd-perltuthub"
14
+ auth.require = (
15
+ "/_statistics" => (
16
+ "method" => "basic",
17
+ "realm" => "Perl Tutorial Statistics",
18
+ "require" => "user=stats"
19
+ )
20
21
0 commit comments