Releases
Download latest
All releases
Installation
SimpleCVS
Perl
XS Checksum module
Reference
Configuration files
   Server
   Client
   Web browser
File structure
Startup options
About SimpleCVS
Authors
Sourceforge: project
Sourceforge: homepage
Version changes



SourceForge.net Logo

Reference > Configuration files > Web browser

The configuration files are located in the folder conf/ residing in the SimpleCVS-folder.


General settings
port TCP port on wich on wich to run the web browser.
fork Allow forking (almost like threads). Specify 0 or no for running the server in single threaded mode. Set to 1 or yes to run the server in multithreaded mode. It's recommanded to use forking on the web browser.

Example setup:
#### GENERAL SETTINGS ##################

port: 4480
fork: 1


Browser mode
config.use What type of web browser to run. clt = Client - If you are a client of a project and want to browse and add tags, in your local CVS. srv = Server - use this to manage the root of the project. If ran as srv, you can update the root-directory. This is what you want to use if your setup is a server and clients should connect to manage the root.
config.server Path and filename to the server configuration file
server.client Path and filename to the client configuration file

Example setup:
#### BROWSER MODE ######################

config.use: clt
config.server: ./conf/server.txt
config.client: ./conf/client.txt


Security & access
access.
external
Allow external access to the server. 1 = true, 0 = false. If this is set, make sure to set correct access.ip-rules.
access.ip Rules for who can access an external-enabled web browser. Specify which IP-addresses should be able to connect. The syntax is as folows:
192.168.0.0 = 192.168.*.*
192.168.0.5 = 192.168.0.5
212.182.120.0 = 212.182.120.*
212.182.120.154 = 212.182.120.154

Example setup:
#### SECURITY & ACCESS ##################

access.external: 1
access.ip: 192.168.0.0
access.ip: 130.236.154.215
access.ip: 212.181.208.221


Daemon
logtoxml Use XML as format for logging rather than plain text. 1 = xml, 0 = plain text
daemon.pidfile Filename (and path) where to save the PID file. the PID file holds the Process ID of the web browser started by the Daemon. This is used to shut down/stop the browser.
daemon.out Filename (and path) where to output the log from the web browser. On unix, this can be set to /dev/null if you don't want any logging. If not set, /dev/null is assumed. This can be a problem on Win, so make sure to set it. Note that all important stuff is automatically logged to .log.cvs in the active project directory on the server.

Example setup:
#### DAEMON SETTINGS ####################

logtoxml: 1
daemon.pidfile: /tmp/simplecvsweb.pid
daemon.out: web-daemon.log


Complete example - conf/web.txt
#### GENERAL SETTINGS ##################

port: 4480
fork: 1

#### BROWSER MODE ######################

config.use: clt
config.server: ./conf/server.txt
config.client: ./conf/client.txt

#### SECURITY & ACCESS ##################

access.external: 1
access.ip: 192.168.0.0
access.ip: 130.236.154.215
access.ip: 212.181.208.221

#### DAEMON SETTINGS ####################

logtoxml: 1
daemon.pidfile: /tmp/simplecvsweb.pid
daemon.out: web-daemon.log