|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
RE: multi database & cacheHi
We have quite same problem... but we have only one db. We have Midgard 1.6.3 with Mulitlang/Midcom, about 60 hosts in several companies.. MidgardPageCacheDir /var/cache/midgard/ Some styles are shared and used by several hosts in different companies. Problem: the different files are the same auto-generate filename and they are permanently rewrite. What means: 84-639-153-0.php (I see page_id, element_id ??). It is possible to change this auto-generate filename? Thanks for help Wojtek -----Original Message----- From: Ingo Herz [mailto:herz@...] Sent: Thursday, January 05, 2006 11:52 AM To: user@... Subject: [midgard-user] multi database & cache Hello, we have a Midgard/MidCOM setup with some vhosts, grouped into multiple Midgard databases (one for each customer). It runs on Debian sarge with Midgard 1.7.3 from debs, MidCOM site template (2005.11.10) and Apache 1.3. Databases and vhosts were created with datagard. Now the problem: cache-files seem to be created unique per database, but can be the same for different pages in different databases. So I was very confused as one site got the layout of another etc... Do I have to set different MidgardPageCacheDirs for the vhosts or what else can I do to avoid this? Thanks for your help and a happy new year to all of you! Ingo --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@... For additional commands, e-mail: user-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@... For additional commands, e-mail: user-help@... |
|
|
Re: multi database & cache"Wojciech Chmielewski" <Wojciech.Chmielewski@...> wrote:
> Hi > We have quite same problem... but we have only one db. > > We have Midgard 1.6.3 with Mulitlang/Midcom, about 60 hosts in several > companies.. MidgardPageCacheDir /var/cache/midgard/ > Some styles are shared and used by several hosts in different companies. By default we set /var/cache/midgard/. You can change this location to any directory which suits you and is apache user and group writeable. > Problem: the different files are the same auto-generate filename and they > are permanently rewrite. > > What means: 84-639-153-0.php (I see page_id, element_id ??). page id , style id , host id , sitegroup id ( in no particular order ) > It is possible to change this auto-generate filename? Yep, you should patch apache module. But it looks like you serve companies or hosts withing SG0. 1.6.x branch serves cache files even when the same style and the same root page is used by different sitegroups ( companies ). Piotras --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@... For additional commands, e-mail: user-help@... |
|
|
|
| Free Forum Powered by Nabble | Forum Help |