[crisos] Lighttp.conf

[ Thread Index | Date Index | More lists.tuxfamily.org/crisos Archives ]


Hi.  I tried to modify lighttp.conf to add to aliases like the following (I’m trying to add the script directory for Nagios):

 

$HTTP["url"] =~ "^/nagios" {

alias.url += (

     "/nagios/" => "/ipkg-install/usr/share/",

     "nagios/cgi-bin/" => "/ipkg-install/usr/sbin/",

     )

}

 

However, when I try to restart the server, I get the following error:

 

root@CrisOs:# /etc/init.d/lighttpd restart

can't handle '$HTTP[url] =~ ...' as you compiled without pcre support.

(perhaps just a missing pcre-devel package ?)

2008-05-25 00:59:33: (configfile.c.853) source: /etc/lighttpd.conf line: 230 pos: 1 parser failed somehow near here: {

 

Does anyone know how to correct this?

 

Thanks!

Mike

 

 

 

 



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/