Re: [analog-help] TUX Log files format and scripts for analysis oflogfiles + apache caching

lisbon_pt <[email protected]> Mon, 6 Mar 2006 08:36:42 +0000
Newsgroups gmane.network.tux
Message-ID <[email protected]>
Thanks for sharing your ideas.

I guess, this issue maybe more complex than I would like...

Regards

On 3/3/06, Max Helmet <[email protected]> wrote:
> Hi,
>
> > 1. front end tux receive requests -  it doesn't have the object
> >     pass it to apache in front end (same machine)
> >     (all DOCROOT  -tux and apache - point to /opt/somedir/www/)
> >
> > 2.apache front end does not have object --> redirect to back end IIS
> >
> > How do I make objects that came from back end IIS stay in
> > /opt/somedir/www/ in order to be served next time by tux?
>
> I'm afraid mod_disk_cache doesn't support this. However, you could use
> mod_proxy and mod_ext_filter with a custom module which writes the file=
s
> sent by the back end to the according directory in /opt/somedir/www/ be=
fore
> passing it on. But I wouldn't take this approach because of security
> concerns.
>
> Again, I'd suggest to use a cron job that mirrors the back end server o=
nce
> an hour or once a day. For example you could grep|sed|sort all the URLs=
 from
> the AccessLog and then use wget to copy them to the front end server. O=
r you
> could have a look at the command line version of HTTrack and let it unf=
old
> its power.
>
> Regards,
> Max
>
> _______________________________________________
> tux-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/tux-list
>