Skip Navigation

HowTos

Apache 2.2 mod_cache

Server Tuning

Petal i18n and I18NFool

HowTo Compile Apache 1.3 for MKDoc

Integrate Soupermail

Creating new document components

Translate MKDoc Templates

Checkout MKDoc via anon CVS

Configuring MKDoc::Apache_Cache

MySQL commands to make a user account an editor account

Using news headlines

Customisation with CSS

Hiding documents and creating private areas

Upgrade from 1.4 to 1.6

Discussion Board Moderation

Text Component Formatting

Site Administration

Email newsletters

Edit Templates in a Subversion Repository

Update the Metadata for all Documents

Import MS Word files into MKDoc

Sign up

If you sign up for an account on this web site you can customise elements of this site and subscribe to an email newsletter.

If you have an account on this web site you may login.

If you have an account on this site but have forgotten your user name and / or your password then you can request an account reminder email.

Apache 2.2 mod_cache

As of Apache HTTP server version 2.2 mod_cache and mod_file_cache are no longer marked experimental and are considered suitable for production use.

http://httpd.apache.org/docs/2.2/caching.html

Configuration

First you need to have Apache 2.2 set to act as a proxy for the APache 1.3 running mod_perl and MKDoc, see: http://www.mkdoc.org.archived.website/docs/howto/apache/

Using mod_cache with MKDoc is fairly simple, this example configuration should do the trick, however this doesn't seem to work with Apache 2.2.0 that ships with Fedora Core 5 because of this bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=38017

There is no point in caching the users domain, this is an example for the public domain with an Apache 1.3 with mod_perl running on port 8080:

<VirtualHost *:80>
  ServerName            www.example.org
  ProxyRequests Off
  ProxyPass / http://www.www.example.org:8080/
  ProxyPassReverse / http://www.example.org:8080/
  CacheEnable mem /
  CacheIgnoreNoLastMod On
</VirtualHost>

Up | >>

This document was last modified by Chris Croome on 2006-06-21 08:13:29
MKDoc Ltd., 31 Psalter Lane, Sheffield, S11 8YL, UK.
Copyright © 2001-2006 MKDoc Ltd.