Mod_Cache lighttpd config issue: "." => "30 update-on-refresh"

4 views
Skip to first unread message

zredsox

unread,
Jan 6, 2009, 3:17:22 PM1/6/09
to mod_cache
I have mod_cache compiled into lighttpd 1.4.19, enabled it and added
the config example shown here - (http://www.linux.com.cn/modcache/)
for a forum server.

When I go to launch lighttpd I get the error:

(configfile.c.855) source: /etc/lighttpd/lighttpd.conf line: 327 pos:
6 parser failed somehow near here: .

Looking at my config file it is this line: "." => "30 update-on-
refresh" # default to update every 30 minutes and on refresh requests

..and if I comment it out, lighttpd launches successfully.

Any ideas? Thanks.




Chris Hamono

unread,
Jan 7, 2009, 10:37:32 AM1/7/09
to mod_...@googlegroups.com
There is an error in one of the example configs

	".(?i)php$" => "5" # update php request every 5 minutes
"." => "30 update-on-refresh" # default to update every 30 minutes and on refresh requests
A comma is missing after "5" on the line... ".(?i)php$" => "5" # update php request every 5 minutes

did you leave a comma out of the previous line in your config?

Chris

2009/1/7 zredsox <scot...@gmail.com>
Reply all
Reply to author
Forward
0 new messages