Author: Martin Insulander (martin@insulander.com)

## mod_cvs reference manual

This reference manual is for those who already have mod_cvs running and whish to quickly find the syntax and purpose of configuration directives.

For installation instructions and general information, please refer to the guide to mod_cvs.

### Directives

- CVSCheck
- CVSCmdline
- CVSAllowDateCheckout
- CVSDateCmdline
- CVSUseLocking
- CVSWaitForLock
- CVSLockPath

### CVSCheck

Syntax: CVSCheck On|Off
Default: Off

Turns CVS checking on/off for the specified directory / location. If set to off, mod_cvs does nothing.

### CVSCmdline

Syntax: CVSCmdline Command-line
Default: "cvs -q update -dP"

This commandline, appended by the name of the requested file, is passed to the shell when a CVS update is to be done.

### CVSAllowDateCheckout

Syntax: CVSAllowDateCheckout On|Off
Default: Off

Controls wether date checkouts are to be allowed or not. If this is set to on, you can also control access with the <LocationMatch> directive.

### CVSDateCmdline

Syntax: CVSDateCmdline Command-line
Default: "cvs -q update -fp -D "

This commandline, appended by the requested date, a space, and the name of the requested file, is passed to the shell when a CVS date checkout is to be performed.

### CVSUseLocking

Syntax: CVSUseLocking On|Off
Default: On

Controls mod_cvs' use of lockfiles. To avoid multiple updating processes running simultaneously on the same files, mod_cvs can use lockfiles to refrain other mod_cvs processes from executing a "cvs update".

### CVSWaitForLock

Syntax: CVSWaitForLock On|Off
Default: On

If the requested file is locked, and this directive is set to On, mod_cvs waits until the lock is released (the update is done) and then lets the file be displayed to the user.

In the same case, with this directive set to Off, mod_cvs displays the not-yet-updated version of the file, without waiting for it to be updated.

Deciding wether or not to use this option, you have to ask yourself what's most important to you: Making the user see the most recent revision of the document (On), or letting him see an older document without having to wait (Off).

### CVSLockPath

Syntax: CVSLockPath lock-path
Default: ./CVS

A path where mod_cvs puts its lockfiles, absolute or relative to the location of the file. Consider this as a performance improving option:

`CVSLockPath /tmp/mod_cvs_lock`

Lock files are named lock-path/.mod_cvs_lock_requested-file.

Back to mod_cvs home

Last updated Wednesday, 09-Dec-1998 14:41:30 MET
Copyright © 1998 Martin Insulander, martin@insulander.com