add exception for scripts/ rule for the syntaxhighlighter.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 2 Oct 2010 20:28:24 +0000 (16:28 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 2 Oct 2010 20:29:11 +0000 (16:29 -0400)
Lightty really needs a better way of handling this...

horde/docs/lighttpd-horde.conf

index 5d2c958..7735e2e 100644 (file)
@@ -18,6 +18,6 @@ url.rewrite-once += (
         "^/horde/incubator/content/(.*)$" => "/horde/incubator/content/index.php"
 )
 
-$HTTP["url"] =~ "(/templates/|/scripts/|/lib/|/po/|/locale/|(?<!admin)\/config\/)" {
+$HTTP["url"] =~ "(/templates/|(?<!js/syntaxhighlighter)\/scripts/|/lib/|/po/|/locale/|(?<!admin)\/config\/)" {
     url.access-deny = ("")
 }