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.
Syntax: CVSCheck On|Off
Default: Off
Turns CVS checking on/off for the specified directory / location. If set to off, mod_cvs does nothing.
Syntax: CVSCmdline Command-line
Default: "cvs -q update -dP %s"
This commandline is invoked when a CVS update needs to be done. (%s = filename.)
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.
Syntax: CVSDateCmdline Command-line
Default: "cvs -q update -fp -D %s %s"
This commandline is invoked upon a date checkout request, i.e. http://www.mydomain.com/file.html?DATE=98-01-01, or http://www.mydomain.com/DATE=98-01-01/file.html. (First %s = date, second %s = filename.)
Syntax: CVSAllowLog On|Off
Default: Off
Controls wether CVS log requests are to be allowed or not. If this is
set to On
, you can also control access with the
<LocationMatch> directive.
Syntax: CVSDateCmdline Command-line
Default: "cvs log %s"
This is the commandline invoked at a log request, i.e. http://www.mydomain.com/file.html?LOG. (%s = filename.)
Syntax: CVSAllowCVSFiles On|Off
Default: Off
This specifies wether requests whose URIs include /CVS/
are to be allowed or not.
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".
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).
Syntax: CVSWaitTimeout <no. of seconds>
Default: 30
If CVSWaitForLock
is enabled, this directive controls
how long mod_cvs waits for the lockfile to be deleted. If set to 0,
a timeout will never occur. When this timeout is due, mod_cvs tries
to remove the lockfile and continue as if nothing had happened.
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.
Copyright © 1998 Martin Insulander, martin@insulander.com. Now maintained by Noa Resare modcvs@resare.com