Re: [crisos] Lighttp.conf |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/crisos Archives
]
- To: crisos@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [crisos] Lighttp.conf
- From: "Vittorio Foschi" <vittorio.foschi@xxxxxxxxx>
- Date: Mon, 26 May 2008 09:30:18 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=SRG8SzMcKOS8dZkLV3FaHc1NEw4UX60xGQSpqokcdaM=; b=UlOPjcehSCvVxMxkhn8+H9rU10/Z5lJt3EOTxOJA+fMgO/pEMyQOodHv/3d3QHuOmwoRrrJWLHNpwkKx96eJwMPv8P0o/lmGLVajTkFpDPj/hWG23TBfQnTolmiNS4IjKuQUbZfgzUpqHf5H1Usl4bNUsmfeRrEeGUMW/2SwmaY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HRvAzzSHaJRbaiQ0fOfbYRYyDXZYl8aeRAKqet1uedWll9ar3AJgfI0hEJ0aMkeHCpVhcxkRFGc8DVss4iRph6Bdxqs1NI/7asqz06iWHw6TUQn7/qWoDbL3sYMafClV3G/9r07wcfIPQBuzlse11JYU2MEgIewMZirWXgTzSWo=
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.