Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 11th January 2006, 00:01
sirmee2001 sirmee2001 is offline
Junior Member
 
Join Date: Dec 2005
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
if(get_cfg_var('register_globals') != 'On') {

foreach($HTTP_GET_VARS as $getkey => $getval) {
$$getkey = $getval;
}
unset($getkey);
unset($getval);

foreach($HTTP_POST_VARS as $postkey => $postval) {
$$postkey = $postval;
}
unset($postkey);
unset($postval);

foreach($HTTP_COOKIE_VARS as $cookiekey => $cookieval) {
$$cookiekey = $cookieval;
}
unset($cookiekey);
unset($cookieval);
}

$go_info = array();

$s = $HTTP_GET_VARS["s"];
if(isset($HTTP_POST_VARS["s"])) $s = $HTTP_POST_VARS["s"];
$s = addslashes($s);
$session = "s=$s";
$set_header = 1;
@session_start();

/**********************************************
* System Settings
**********************************************/

$go_info["server"]["dir_trenner"] = "/";
$go_info["server"]["server_root"] = "/home/admispconfig/ispconfig";
$go_info["server"]["server_url"] = "http://igorg.hopto.org:81";
$go_info["server"]["include_root"] = $go_info["server"]["server_root"] . $go_info["server"]["dir_trenner"] ."lib";
$go_info["server"]["classes_root"] = $go_info["server"]["include_root"] . $go_info["server"]["dir_trenner"] ."classes";
$go_info["server"]["temp_dir"] = $go_info["server"]["server_root"] . $go_info["server"]["dir_trenner"] ."temp";
$go_info["server"]["files_dir"] = $go_info["server"]["server_root"] . $go_info["server"]["dir_trenner"] ."files";
$go_info["server"]["backup_dir"] = $go_info["server"]["server_root"] . $go_info["server"]["dir_trenner"] ."backup";
$go_info["server"]["version"] = "2.1.2";
$go_info["server"]["os"] = "linux";
$go_info["server"]["ort"] = "local";
$go_info["server"]["banner"] = "0";
$go_info["server"]["db_host"] = "localhost";
$go_info["server"]["db_name"] = "";
$go_info["server"]["db_user"] = "";
$go_info["server"]["db_password"] = "";
$go_info["server"]["db_type"] = "mysql";
$go_info["server"]["mail_server"] = "";
$go_info["server"]["mail_user"] = "";
$go_info["server"]["mail_password"] = "";
$go_info["server"]["smtp_server"] = "localhost";
$go_info["server"]["mode"] = "";
$go_info["server"]["lang"] = "en";

$go_info["server"]["postfix_config"] = 1; // 1 = SENDMAIL-STYLE, 2 = POSTFIX-STYLE
$go_info["server"]["smtp_restart"] = 1; // 1 = stop/start, 2 = restart
$go_info["server"]["network_config"] = 0; // 0 = none, 1 = automatic

/**********************************************
* Tools Settings
**********************************************/

$go_info["tools"]["zip"] = $go_info["server"]["server_root"] . $go_info["server"]["dir_trenner"] ."tools".$go_info["server"]["dir_trenner"]."zip".$go_info["server"]["dir_trenner"]."zip"; // nicht gzip !!
$go_info["tools"]["unzip"] = $go_info["server"]["server_root"] . $go_info["server"]["dir_trenner"] ."tools".$go_info["server"]["dir_trenner"]."unzip".$go_info["server"]["dir_trenner"]."unzip";
$go_info["tools"]["imagemagick"]["mogrify"] = "mogrify.exe";

/**********************************************
* Themes Settings
**********************************************/

// Themes Section
$go_info["theme"]["sitename"] = "ISPConfig";
$go_info["theme"]["page"]["box_color"] = "E4E4E4"; // z.B. E4E4E4 , angaben ohne #
$go_info["theme"]["page"]["nav_color"] = "E0E0E0"; // z.B. 025CCA , angaben ohne #
// Die Logo-Datei muss im Verzeichnis /home/admispconfig/ispconfig/web/design/default liegen!
$go_info["theme"]["page"]["logo"] = ""; // z.B. meinlogo.gif

/**********************************************
* Logging
**********************************************/

$go_info["server"]["log_level"] = 0; // 0 = Debug, 1 = Info, 2 = Warning, 3 = Failure
$go_info["server"]["log_file"] = $go_info["server"]["server_root"] . $go_info["server"]["dir_trenner"] ."ispconfig.log"; //Logdatei
if(is_file("/home/admispconfig/ispconfig/adminmail.txt")){
$go_info["server"]["log_mail"] = trim(shell_exec("cat /home/admispconfig/ispconfig/adminmail.txt")); // Log Emailadresse
} else {
$go_info["server"]["log_mail"] = "root@localhost";
}
$go_info["server"]["log_device"] = "FILE"; // FILE, SYSTEM, MAIL

/**********************************************
* Demo Mode Settings
**********************************************/

$go_info["demo"]["web_path"] = "";
?>
Here is the file. I hope I did it the right way.
Reply With Quote
Sponsored Links
  #12  
Old 11th January 2006, 00:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Looks ok. Do you have 192.168.2.114 somewhere in /root/ispconfig/httpd/conf/httpd.conf? Because http://igorg.hopto.org:81/mailuser/ works, but http://igorg.hopto.org:81/mailuser doesn't.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #13  
Old 11th January 2006, 01:11
sirmee2001 sirmee2001 is offline
Junior Member
 
Join Date: Dec 2005
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

It works. Thanks a lot. The address was in that file. I changed it and everything is OK now.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISP install problems Debian sarge 3.1 lerra Installation/Configuration 1 5th January 2006 16:37
Everything is working except Access denied page SeaWolf Installation/Configuration 2 10th December 2005 15:16
FTP access with Dreamweaver / FTPclient pjm2211 Installation/Configuration 17 1st November 2005 23:31
FTP access problem... ctroyp General 7 12th October 2005 17:07
FTP access? ctroyp Installation/Configuration 14 29th September 2005 17:26


All times are GMT +2. The time now is 06:42.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.