Next: , Previous: , Up: Tools   [Contents][Index]


5.1.2 Apache

USER (see Who) use APACHE to browse the HTML catalogue and access archives. (For tips, you should maybe read this section first : see HTTP). APACHE is configured to query the SERVER (see Server) via the cgiClient (see cgiClient) CGI script.

The followings APACHE’s modules are enabled by MEDIATEX:

auth_digest

to cypher password (even if using HTTP).

authz_groupfile

to filter access to the catalogue, cache, extraction rules and GIT history.

autoindex

to display the cache’s content.

cgi

to call get.cgi and cgit.cgi scripts.

env

to use absolute paths into the HTML page’s headers and to retrieve the configuration of cgit.

include

SSI (server side includes) are used to reduce the size of the HTML catalogue.

rewrite

to force using HTTPS protocol (if wanted).

userdir

to access collection with a similar URL on every servers, by using the tilde (“~”).

setenvif

to provide switch to disable authentification, as cache’s .htaccess file must be generated by make.

ssl

to enable the HTTPS protocol.

They are left when mediatex software is removed, as they could still be in used for another purpose.

Process conceptual model:

mediatex-figures/apache

You may want to automate the encryption in order to add new users (the htdigest tool does not accept pipe redirection). Simplest way is:

printf "username1:mdtx-COLL:yourPassword" | md5sum
855531b7d2e25b190c6d1da662da5f90  -

Code:

scripts/libs/htdocs.sh

Next: , Previous: , Up: Tools   [Contents][Index]