- 论坛徽章:
- 0
|
/etc/init.d/lighttpd start
Starting lighttpd: can't handle '$HTTP[url] =~ ...' as you compiled without pcre support.
(perhaps just a missing pcre-devel package ?)
2008-09-11 22:47:18: (configfile.c.855) source: /etc/lighttpd/lighttpd.conf line: 268 pos: 5 parser failed somehow near here: {
[FAILED]
261 #### both rewrite/redirect support back reference to regex conditional using %n
262 #$HTTP["host"] =~ "^www\.(.*)" {
263 # url.redirect = ( "^/(.*)" => "http://%1/$1" )
264 #}
265
266 $HTTP["host"] == "www.web.com" {
267 $HTTP["url"] =~".jsp|.go|.do|action|/$" {
268 proxy.server = (""=>(("host" => "192.168.0.1", "port" => 8080)))
269 }
270 }
271
272 |
系统是as4的
pcre-4.5-3.2.RHEL4,和这个有关系吗?
问题解决了!!!
[ 本帖最后由 vv0885 于 2008-9-12 10:35 编辑 ] |
|