################################################################## # P4DB configuration file # # Release: 4.0 # # # # The configuration must change to match your environment # # before P4DB can be used. # # # ################################################################## # # # The general format of the file is: # # : # # Whitespace is allowed before identifier and before data. # # The data format depends on the identifier # # Sometimes there can be more than one line with the same # # identifier, for example P4DB_ADMIN-lines. # # # # In general whitespaces are NOT allowed in filenames. Sorry. # # # ################################################################## ################################## ### Set up environment ### ### ### ##### # 1 # ################################################################ # Path to p4 program. # # You probably need to modify this # P4PATH: /home/fredric/bin/p4 ##### # 2 # ################################################################ # Path to help files and other html. # # The default works just fine unless you do not want to mix # # CGIs and regular html files in the same directory. # # # # NOTE: If this is modified, be sure to move all .html files # # as well. # HTML_HELPFILE_PATH: . ##### # 3 # ################################################################ # Set administrator(s) for P4DB. # # The default will NOT do. # # Data Format: # # Zero or more administrators can be specified. # # If specified, these will appear as mailto: targets in the # # standard page footer. # P4DB_ADMIN: MrDDuck@disney.com Donald Duck P4DB_ADMIN: MrMMouse@disney.com M. Mouse ############################################## ### Variables to facilitate ports ### ### ### ################################################################## # NOTE! # # You should pay special attention to this part if your OS is # # Windows NT. For Unix and Linux the default is probably fine. # # # # I do not have access to a Windows machine with a web server # # so I can not test this. The recommended settings are from # # email conversations I have had with P4DB users that run on # # Windows. # ################################################################## ##### # 4 # ################################################################ # NT needs the SHELL variable set to some UNIX-style shell # # program (like kornshell in MKS toolkit, check out # # http://www.datafocus.com/products/tk/ ) # # Leave empty for Unix/Linux. SHELL: ##### # 5 # ################################################################ # P4DB sometimes needs to redirect error messages that should # # be ignored to a null device. God named the null device # # "/dev/null" but Bill G. et al. ignored this and called it # # "NUL:". # # Make sure it is set to whatever your OS calls the null # # device. # # Don't remove the "2>"-part # REDIRECT_ERROR_TO_NULL_DEVICE: 2>/dev/null # >>>> this line should work for NT: (not tested) # REDIRECT_ERROR_TO_NULL_DEVICE: 2>NUL: ##### # 6 # ################################################################ # P4DB sometimes needs to redirect error messages that should # # be parsed to the standard out stream. This is the command # # used for this. Set to nothing if your OS does not differ # # between stdout and stderr. # REDIRECT_ERROR_TO_STDOUT: 2>&1 ############################## ### Specify servers ### ### ### ##### # 7 # ################################################################ # Specify one or more p4 servers to point P4DB to. If more # # than one server is specified the user can select one using # # the "preferences"-page. The first will be the default. # # # # Data format: # # : ; # PORT: p4:1666 ; Default depot PORT: public.perforce.com:1666 ; Perforce Public Depot PORT: NoSuch:1666 ; Nonexisting, for test ############################# ### Style Sheets ### ### ### ##### # 8 # ################################################################ # Specify CSS (Cascaded Style Sheet) files for the user to # # select from. The P4DB layout relies heavily on style sheet # # files. This has the disadvantage that a fairly recent # # browser is required but the advantage that a it is possible # # to create a nicer user interface. # # Data format: # # ; # # Two files are distributed with P4DB. # STYLES: P4DB.css ; Standard STYLES: P4DB_cvd.css ; For Color Vision Deficiency STYLES: P4DB_large.css ; Large fonts STYLES: P4DB_small.css ; Small fonts ############################################## ### control miscellaneous behaviour ### ### ### ##### # 9 # ################################################################ # Control when warning should be printed for "unused client" # # and "unused user". # # In the client and users lists P4DB will print a warning next # # to a client or user if it has not been used for a specified # # number of weeks. The default is 10 but can be changed here. # UNUSED_CLIENT_WARNING_LEVEL: 10 UNUSED_USER_WARNING_LEVEL: 10 ###### # 10 # ################################################################ # The user name in the login page can be selected from a pop-up menu # listing all users or typed in a text field. # The default behavior is the pop-up menu but if you feel that this # in some way compromise the security set this to 0 and the user # will have to remember both the password and the user name. SELECT_USER_FROM_LIST: 1 ###### # 11 # ################################################################ # Specify your shorcut icon ("favicon.ico") file. # There is a default supplied with P4DB SHORTCUT_ICON: P4DB.ico ###### # 12 # ################################################################ # Specify tiomeout in seconds for each CGI. # The timeout is there to habdle bugs in P4DB and stop processes # caught up in infinite loops. # Default is 5 minutes. CGI_TIMEOUT: 300 ################################################################ # End of P4DB configuration file. # ################################################################