mirror of
https://git.freebsd.org/ports.git
synced 2025-06-20 12:10:31 -04:00
- Fixed Apache OPTION message - Updated verbiage in pkg-message regarding installation of standalone server rc script PR: 155106 Submitted by: ohauer
52 lines
1.4 KiB
Text
52 lines
1.4 KiB
Text
*****************************************************************
|
|
|
|
To use ViewVC, modify the configuration file located at
|
|
%%INSTDIR%%/viewvc.conf.
|
|
|
|
If no webserver was selected during installation, then
|
|
a rc script for running ViewVC standalone is installed.
|
|
To enable the standalone ViewVC server in rc.conf use
|
|
parameter viewvc_enable="YES".
|
|
|
|
You can also adjust the user which runs the ViewVC standalone
|
|
server with the parameter "viewvc_user".
|
|
|
|
If you want to run the ViewVC standalone server with another
|
|
IP/PORT, use the parameter "viewvc_flags".
|
|
|
|
To see all available parameters, use the command
|
|
%%PREFIX%%/viewvc/bin/standalone.py --help
|
|
|
|
|
|
To use ViewVC with Apache or lighttpd as a CGI script,
|
|
see the following config examples.
|
|
|
|
Example config lines for Apache
|
|
===============================
|
|
Alias /viewvc "%%PREFIX%%/viewvc/bin/cgi/"
|
|
<Directory "%%PREFIX%%/viewvc/bin/cgi">
|
|
AddHandler cgi-script .cgi
|
|
Options NONE +ExecCGI
|
|
DirectoryIndex viewvc.cgi
|
|
Order allow,deny
|
|
Allow from all
|
|
</Directory>
|
|
|
|
|
|
Example config lines for lighttpd
|
|
=================================
|
|
server.modules = (
|
|
"mod_alias",
|
|
"mod_access"
|
|
)
|
|
|
|
alias.url += ( "/viewvc" => "%%PREFIX%%/viewvc/bin/cgi" )
|
|
|
|
$HTTP["url"] =~ "^/viewvc/" {
|
|
index-file.names = ( "viewvc.cgi" )
|
|
cgi.assign = (
|
|
".cgi" => "%%PREFIX%%/bin/python",
|
|
)
|
|
}
|
|
|
|
*****************************************************************
|