Re: [crisos] Lighttp.conf

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


Oh yes ... You need to recompile lighttpd and enable prce in its
configuration... I don't remember if i have modified Makefile or other


2008/5/25, Michael S. Klapheke <mklaphek@xxxxxxxxxxxxx>:
> 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
>
>
>
>
>
>
>
>
>
>
>

---
CrisOs mailing list
Official multi-language http://www.crisos.org/ mailing list

For unsubscribe send empty mail to: crisos-request@xxxxxxxxxxxxxxxxxxx with subject unsubscribe.


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