lenya-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Hohwiller <jo...@j-hohwiller.de>
Subject Re: mod_lenya
Date Thu, 18 Aug 2005 16:35:58 GMT
Hash: SHA1

Hi there,

obvious but to make it right, see below...

joerg wrote:
> Hi there,
> I have been on ApacheCon Europe and have been to the Lenya Session.
> It was good and gave me appetiet about lenya!
> I have been doing Content Management both in business and privatly,
> so I am not new to the toppic. I aggree with your caching strategies
> and can not think of a better way to handle the issue.
> I only startet a little discussion about mod_lenya and promised to put
> this on the mailing list:
> First of all I did not look in what mod_lenya actually does but only
> know what it might do as I figured out from the ApacheCon Session.
> From that point of view I say that you can do all this simply with
> mod_rewrite and mod_proxy.
> In your apache config you just do something like
> ####
> RewriteRule ^(.*) $1 [E=PATH:$1]
RewriteRule ^(.*) $1 [E=CACHEPATH:$1]
> RewriteCond %{DOCUMENT_ROOT}/cache/%{ENV:CACHEPATH} !-f
> RewriteRule ^(.*) http://tomcat-host:port/lenya/$1 [P]
> RewriteRule ^(.*) %{DOCUMENT_ROOT}/cache/%{ENV:CACHEPATH}
> ####
> I hope I got it right cause I did not have the time to check it,
> but this is how I have done this several times with others of this
> millions of CMS products. It might even work with only two RewriteRules,
> however.
> Maybe mod_lenya does a lot more - but if not you might safe the time
> maintaining it and put your energy into the lenya core.
> Hope not to offend anybody and maybe to help a little.
> Regards
>   Jörg

Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org


To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org

View raw message