+ # Redirect this url, which was published in my Master's
+ # thesis. Use .* instead of λ, since mod_redirect doesn't like
+ # the λ for some reason.
+ url.redirect += ("^/gitweb\?p=matthijs/projects/c.*ash\.git" => "/gitweb?p=matthijs/master-project/cλash.git")
+ # Redirect / to gitweb
+ url.redirect += ("^/$" => "/gitweb")
+ $HTTP["querystring"] =~ "/brevidius/" {
+ auth.backend = "htpasswd"
+ auth.backend.htpasswd.userfile = var.site-dir + "/conf/brevidius.user"
+ auth.require = (
+ "/" => (
+ "method" => "basic",
+ "realm" => "Brevidius",
+ "require" => "valid-user"
+ )
+ )
+ }
+ }
+
+ $HTTP["host"] =~ "hg.stderr.nl$" {
+ # Let all of hg.stderr.nl be handled by hgweb, since it also
+ # takes care of clone / pull requests.
+ cgi.assign += ( "hgwebdir.cgi" => "" )
+ alias.url += ( "" => "/usr/local/lib/cgi-bin/hgwebdir.cgi" )