HomePage :: InstallationInstructions :: ExternalLinks :: Troubleshooting

There are two configuration files in your web://cp installation. The first is the CustomConfigurationFile and that is the file that you will edit to customize web://cp for your server. The second is the DefaultConfigurationFile and it should be left untouched except if you are developing new functionality for web://cp. Below is a list and explanation of possible values for your CustomConfigurationFile:

$cfg['adminmail']
The email address of the system administrator
$cfg['sysname']
The primary domain name of the system web://cp resides on.
$cfg['basedir']
The base directory that web://cp is installed in (usually /home/webcp).
$cfg['webdir']
The base directory that all virtual host directories exist in (usualy /home).
$cfg['webname']
The directory name to give all web documents.
$cfg['loglevel']

Level of logging-

  • 1 - fatal errors,
  • 2 - warnings
  • 3 - all activity)
$cfg['log_system']

Log system to use-

  • file - Log to a text file
  • filedb - Log to a flat-file database.
  • db - Log to the database.
  • email - Log by sending email
$cfg['logfile']
Location of the log file if using file or filedb. Don't forget to chown this file to the user you defined for webcp.
$cfg['accesslog']
Location of the Apache web server access log.
$cfg['ucount']
Max allowed updates per domain and user.
$cfg['bandwidth']
This indicates whether to limit bandwidth using mod_Bandwidth in Apache (true|false).
Note bandwidth is not data transfer
$cfg['sslang']
Server side languages list (php,asp,perl,ssi,etc). This should be a comma separated list.
$cfg['lang']
Languages supported by web://cp (english,french,spanish). This should be a comma separated list.
$cfg['defaultlang']
Default language. This must be one of the languages listed in the supported language list.
$cfg['defaultskin']
The name of the default skin to use on web://cp.
$cfg['key']
This should be a text string which is secret. It is used for encoding and decoding passwords.
$cfg['webcp']
Version of web://cp you are running (eg. 0.5.7).
$cfg['ssl']
Indicate whether the control panel should support SSL. (true|false)
$cfg['port']
TCP Port that web://cp should be listening for requests on. (default is 81)