Changes

From SME Server
Jump to navigationJump to search
693 bytes added ,  16:56, 6 September 2007
Line 68: Line 68:  
  /etc/rc.d/init.d/httpd-e-smith restart
 
  /etc/rc.d/init.d/httpd-e-smith restart
   −
Change into the newly created cerberus directory and edit the file config.php
+
Change into the cerberus directory and edit the file config.php, Set the values for your database connection on the following lines:
    +
cd /opt/cerberus
 +
example of config.php
 +
<?php
    +
// Database connection information
 +
// Type your information in between the single quotes ('s) below
 +
 +
define("DB_SERVER",'localhost'); 
 +
define("DB_NAME",'cerberusdb');
 +
define("DB_USER",'cerberus');
 +
define("DB_PASS",'cerberuspassword');
 +
 +
 +
// [JAS]: IPs that we'll allow to view upgrade.php. 
 +
//  Add yours here at the end, or replace a 0.0.0.0
 +
//  Partial IP masks are allowed.
 +
 +
$authorized_ips = array("127.0",
 +
                                  "192.168.1",
 +
                                  "0.0.0.0",
 +
                                  "0.0.0.0"
 +
                                  );
     
276

edits

Navigation menu