W3C Amaya

Installing a template server for Amaya

A template is a model, or skeleton, of a document, which you may use while creating a new document. Since version 2.2, Amaya supports the use of templates stored in a server.

This document describes how to configure and install a template server on an HTTP server. A related document describes how to use templates with Amaya.


Requirements

The following software packages are needed :

Download the template server distribution

The distribution is available as a compressed tar file (about 355832 bytes)

Installing the template feature on a server

When you untar the distribution file, a templates directory will be created with the following subdirectories:

cgi-bin
Perl scripts and related modules
templates
Template and CSS files
conf
Diverse configuration files

Installing the cgi scripts and templates

Installing the intelligent publication feature

This feature allows the users to publish on your server whithout having to know their publication directory.

Install the PUT method

In order to allow direct publication, Apache server must be configured to accept the HTTP PUT method.

The following steps describe how to install the put.c script. Any other PUT script will work as well too.

For more information about the put feature, follow this link

Publishing Pages with PUT - http://www.apacheweek.com/features/put

PUT Access rights

The next step consist in allowing the server to manage PUT access rights.

Add a template user ( for intelligent publication only)

To add a user allowed to use direct publication on the server, follow the steps below :

Adding new templates and stylesheets

To add templates and CSS, copy the associated files in your templates directory and modify the file templates.xml as below :

The form proposing templates and stylesheets will automatically be updated and displayed the next time you use the template fonctionality.

Authors and Contributors


José Kahan

Last modified $Date: 1999/10/26 11:14:54 $

Copyright  ©  1999 W3C (MIT, INRIA, Keio ), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply. Your interactions with this site are in accordance with our public and Member privacy statements.

The Perl module XML::Parser is covered by the same copyright as that of Perl. A copy of this copyright is included in the templates distribution tar file