Share » Forums » Install & configuration » Around cache

Around cache

Around cache

Wednesday 22 January 2003 1:09:06 am - 1 reply

Author Message

Tony Wood

Wednesday 22 January 2003 11:45:32 am

If you are going to use hosts, take a look at
http://developer.ez.no/bug/bugview/1790/ and http://developer.ez.no/forum/message/13492/ as host element lookup is bugged...
Then try
[SiteAccessSettings]
MatchOrder=host

HostMatchType=element
HostMatchElement=0

This will pull out the admin in admin.mydomain.com

Once you sort that virtual hosts should work fine assuming apache and bind stuff is sorted.

Tony

> > How can I disabled cache only for certains part (nodes,
> > branchs or content_class) of my site?
> >
> > For example: I don't want caching news or forum, but I
> want
> > caching articles.
>
> Do you use virtual hosts? If so, the sollution might be
> (dont use vh, i'm guessing):
>
> use news.yourdomain.com and forum.yourdomain.com for news
> and forum.
>
> Change your siteaccesssettings:
>
> [SiteAccessSettings]
> MatchOrder=host
> HostMatchRegexp=^(.+\..+)\.yourdomain\.com
> HostMatchSubtextPost=\.yourdomain\.com
>
> Add into
> settings/siteaccess/news/site.ini.append and
> settings/siteaccess/forum/site.ini.append the right cache
> settings. Site.ini.php contains the default access settings
> (=settings voor the www subdomain)
>
> If you don't use vh, try to use the IndexMatchRegexp for
> index.php, index_admin.php, index_news.php,
> index_forum.php.
>
> See:
> http://ezwiki.blanko.info/index.php/Several%20sites%20with%20one%20installation%20%283.x%29

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu