BBC HomeExplore the BBC
This page was last updated in July 2006We've left it here for reference.More information

23 April 2014
Accessibility help
Text only

BBC Homepage
OpenSource
About
Projects
Licensing
FAQ

Contact Us

Like this page?
Send it to a friend!

 

Apache Modules

Contact: Nick Holmes

See also mod_rest_cache

to provide a mechanism to store content in a local disk cache that has been retrieved from another web server (or 2nd tier), and to provide a REST-like HTTP interface to remove specific items from that cache.

Description:

The modules in the mod_ssi_func suite were founded to support functions based on mod_include and related to the way pages are built on bbc.co.uk. It was developed to supply an API that would be familiar to other users of Apache's mod_include. This was in the hope that it would be included in future versions of the main distribution of Apache. For this reason the BBC has released the mod_ssi_func suite under the Apache License.

Installation:

The modules have been developed to work with apache 2.0.x

Server-side includes should be enabled in the conf for the file type you are using, and mod_include should be loaded.

The following lines should then be added to the conf (based on the default compilation of the modules).

LoadModule ssi_func_module  modules/mod_ssi_func.so
LoadModule ssi_func_rnd_module  modules/mod_ssi_func_rnd.so
LoadModule ssi_func_math_module  modules/mod_ssi_func_math.so
LoadModule ssi_func_flastmod_module  modules/mod_ssi_func_flastmod.so
LoadModule ssi_setsplitvars_module  modules/mod_ssi_setsplitvars.so

Documentation

Test files

If you install the modules and put these files on your site they will work to test the modules are installed properly

Download Source Files

The source files can be downloaded from the Distribution page.

The BBC is not responsible for the content of external websites.



About the BBC | Help | Terms of Use | Privacy & Cookies Policy