On Apr 25, 2006, at 12:14 AM, Baurzhan Ismagulov wrote:
> I've set up several mailing lists and have some problems with the
> cache:
>
> 1. I've set up an alias like follows and subscribed it to the mailing
> list:
>
> lurker-list1: "|/usr/bin/lurker-index -c /etc/lurker/lurker.conf
> -l list1 -m"
>
> I send one message, view the archive, see the thread with sigma
> == 1.
> I send another message and refresh the page. I expect sigma to
> become
> 2; however, it is still 1. Clicking on the thread does show both
> messages, but sigma remains 1 unless I run lurker-regenerate.
You need to make sure lurker-prune is run from a cronjob. The page
cache is only flushed when lurker-prune gets run. Typically, 15
minutes is a good value since it's short enough most people won't
really notice, but slow enough not to load your machine. If you look
immediately after sending the message, you may not see the freshest
copy. You can also disable caching in the lurker.conf.
> 2. The archive is on the host www.domain.com, which is an alias for
> host1.domain.com. On the intranet, the people access the
> archives via
> the http://host1/lurker/ URL; all cache files are generated
> accordingly. After that, users on the Internet can't access the
> cached pages due to the host name having been hardcoded into the
> html
> pages. I want that the pages are always accessible regardless of
> the
> host name used to access them for the first time.
You need to set your ServerName in apache.
If you use debian, you may be getting hit by a bug whereby the
package set UseCanonicalName to off, which is bogus and breaks
systems in the way you describe. Set it to on.
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Lurker-users mailing list
Lurker-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lurker-users