wok diff mercurial/stuff/lighttpd-hg-vhost.conf @ rev 24981

Up pce (20220220-991c55d9)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 08 10:57:53 2022 +0000 (2022-05-08)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mercurial/stuff/lighttpd-hg-vhost.conf	Sun May 08 10:57:53 2022 +0000
     1.3 @@ -0,0 +1,10 @@
     1.4 +
     1.5 +# Mercurial (hg)
     1.6 +#
     1.7 +$HTTP["host"] =~ "hg$" {
     1.8 +cgi.assign = (
     1.9 +    ".cgi" => "/usr/bin/python"
    1.10 +  )
    1.11 +  server.document-root = "/home/hg/share/"
    1.12 +  url.rewrite-once = ( "(.*)" => "/hgwebdir.cgi$1" )
    1.13 +}