Update of /cvsroot/lxr/lxr/templates/lighttpd
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv31840/templates/lighttpd
Modified Files:
lighttpd-lxrserver.conf
Log Message:
Configuration process: part 5/5
Upgrade lighttpd templates to LCL
Index: lighttpd-lxrserver.conf
===================================================================
RCS file: /cvsroot/lxr/lxr/templates/lighttpd/lighttpd-lxrserver.conf,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- lighttpd-lxrserver.conf 22 Sep 2012 13:02:23 -0000 1.4
+++ lighttpd-lxrserver.conf 11 Jan 2013 12:10:09 -0000 1.5
@@ -467,26 +467,28 @@
## Format is "virtroot" => "%LXRroot%"
## for all 'virtroot' to be served by the same LXR server
## located in the root directory.
-#@begin_O context==s
+#@IF %_singlecontext%
# $HTTP["url"] !~ "^/lxr/[^/]+/" {
# alias.url += ("/lxr/tree1/" => "%LXRroot%/")
# alias.url += ("/lxr/tree2/" => "%LXRroot%/")
# alias.url += ("/lxr/tree3/" => "%LXRroot%/")
# }
#
-#@end_O context==s
-#@begin_O context==m
+#@ELSE
$HTTP["url"] !~ "^/lxr/[^/]+/" {
-#@end_O context==m
-#@begin_virtroot
-#@begin_O context==m
+#@ENDIF
+#- - -
+#- - - Note: block below is interpreted during pass 2.
+#- - -
+#@PASS2 here_virtroot
+#@ IF !%_singlecontext%
#@U alias.url += ("%virtroot%/" => "%LXRroot%/")
-#@end_O context==m
-#@end_virtroot
-#@here_virtroot
-#@begin_O context==m
+#@ ENDIF
+#@ENDP2
+#- - - End of second pass additions
+#@IF !%_singlecontext%
}
-#@end_O context==m
+#@ENDIF
## ------- Tell which files are CGI scripts ------
cgi.assign += ( "/source" => ""
|