Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-29, 00:27:18

Author Topic: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080701)  (Read 40059 times)

0 Members and 3 Guests are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080602
« Reply #45 on: 2013-08-07, 03:55:12 »
Does this new Kloxo works faster with about 3000 domains ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080602
« Reply #46 on: 2013-08-07, 04:25:11 »
Now I only have one ip available in DNS - my nameservers do not resolve.  The ip is still good - it connects directly to website - yet when using FQDN of site it fails, time outs.   The nameservers are not responding.  This is a serious problem.

I am still down.  The main site I need up is offline.  Two other servers down.  Can't get anything to work.  I am so frustrated.

Newest version of Kloxo broke everything.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080602
« Reply #47 on: 2013-08-07, 04:36:18 »
Check: intodns.com
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080602
« Reply #48 on: 2013-08-07, 04:51:43 »
I did.  My nameservers are not responding?  The ip addresses are fine.  They direct link to the sites.  But the sites that are not on my main nameserver are not displaying.  so only one nameserver is working on my server.

bind is still down.  cant change to it.  something is really wrong and i can't get it working.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline insanity

  • Senior Member
  • *
  • Posts: 215
  • Karma: +0/-0
    • View Profile
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080602
« Reply #49 on: 2013-08-07, 11:44:45 »
Quote from: "chrisf"
I did.  My nameservers are not responding?  The ip addresses are fine.  They direct link to the sites.  But the sites that are not on my main nameserver are not displaying.  so only one nameserver is working on my server.

bind is still down.  cant change to it.  something is really wrong and i can't get it working.

I face problem with bind too.
The solution for me:

Code: [Select]
cd /var/named/chroot/var/named
Code: [Select]
mkdir dynamic
Try to restart bind and check /var/log/messages for errors
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080602
« Reply #50 on: 2013-08-07, 15:39:51 »
there are another way to force login ip to hostname ?
example 1.1.1.1:7778 to server.kloxo.com:7778
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080602
« Reply #51 on: 2013-08-07, 21:53:10 »
Quote from: "goblog"
there are another way to force login ip to hostname ?
example 1.1.1.1:7778 to server.kloxo.com:7778

Possible modify login page.

copy /usr/local/lxlabs/kloxo/httpdocs/login/inc2.php to custom-inc2.php and add after '<?php' with:
Code: [Select]
<?php
    
if ($_SERVER['HTTP_HOST'] !== 'server.kloxo.com') {
        
header'Location: http://server.kloxo.com:7778' ) ;
    }
...
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080701
« Reply #52 on: 2013-08-07, 22:22:09 »
you mean inc or inc2 ?
i cant saw php on inc2
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080701
« Reply #53 on: 2013-08-07, 22:34:05 »
Code: [Select]
if ($_SERVER['HTTP_HOST'] !== 'pegasus.bowo.name') {
        header( 'Location: https://pegasus.bowo.name:7777' ) ;
    }

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/lxlabs/kloxo/httpdocs/login/index.php:8) in /usr/local/lxlabs/kloxo/httpdocs/login/custom-inc.php on line 4


:lol:
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080701
« Reply #54 on: 2013-08-07, 22:39:56 »
Try copy index.php to custom-index.php for add this 'header' to custom-index.php.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080701
« Reply #55 on: 2013-08-08, 03:29:37 »
blank page :D
and for custom-inc.php
not redirect to hostname :)
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080701
« Reply #56 on: 2013-08-08, 03:32:31 »
So, inform here 10 lines of custom-index.php content.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080701
« Reply #57 on: 2013-08-11, 17:15:16 »
just read this post :lol:

Code: [Select]
[root@slave login]# cat custom-index.php
<?php
        ini_set
("display_errors","1");

        
// use default index.php
        
if (!file_exists("./custom-index.php")) {
?>


<?php
        
if (file_exists("./custom-inc.php")) {
                
// use user-define inc.php -- no override when kloxo update
                
$incfile "./custom-inc.php";
                if (
file_exists("./custom-inc2.php")) {
                        
$incfile2 "./custom-inc2.php";
                }
        }
        else {
                
// use default inc.php
                
$incfile "./inc.php";
                if (
file_exists("./inc2.php")) {
                        
$incfile2 "./inc2.php";
                }
        }

?>


<html>

<head>
        <title>Kloxo Control Panel</title>

        <meta http-equiv="Content-Language" content="en-us">
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

<?php if(isset($incfile2)) { include_once $incfile2 ; } ?>

<style>
body {
        font-family: Tahoma, Verdana, Arial, Helvertica, sans-serif;
        font-size: 8pt;
        font-weight: 100;
        background-image:url('./images/abstract.jpg');
        background-color:#cccccc;
        margin: 0;
}
a {
        text-decoration: none;
}
img {
        border: 0;
}

img.logo {
        margin: 5px;
        padding: 0;
}

table.header {
        border-collapse: collapse;
        border-spacing: 0;
        width: 100%;
        font-family: Tahoma, Verdana, Arial, Helvertica, sans-serif;
        font-size: 8pt;
        font-weight: 100;
}

table.content {
        border-collapse: collapse;
        border-spacing: 0;
        width: 100%;
        /* height: 100%; */
        font-family: Tahoma, Verdana, Arial, Helvertica, sans-serif;
        font-size: 8pt;
        font-weight: 100%;
}

table.content_body td {
        border-collapse: collapse;
        border: 1px dashed #cccccc;
        font-family: Tahoma, Verdana, Arial, Helvertica, sans-serif;
        font-size: 10pt;
        color: #444444;
        padding:10px;
        spacing:0;
}

table.content_title td {
        border-collapse: collapse;
        border: 0;
        font-family: Tahoma, Verdana, Arial, Helvertica, sans-serif;
        font-size: 12pt;
        color: #336699;
}

</style>

<body>

<table class="header">
        <tr>
                <td width="100%"><img class="logo" src="./images/logo.png" height="75" alt="hosting-logo"></td>
                <td><a href="http://mratwork.com/work/" title="Go to Kloxo-MR website"><img class="logo" src="./images/kloxo-mr.png" alt="kloxo-mr-logo" height="75"></a></td>
        </tr>
</table>
<table class="content">
        <tr>
                <td width="50">&nbsp;</td>
                <td valign="middle" width="100%"><?php include_once $incfile?></td>
                <td width="50">&nbsp;</td>
        </tr>
</table>
</body>

</html>

<?php
        
}
        else {
                
// use user-define index.php -- no override when kloxo update
                
include_once "./custom-index.php";
        }
?>

[root@slave login]#

and for custom-inc.php

Code: [Select]
[root@slave login]# cat custom-inc.php
<?php

    
if ($_SERVER['HTTP_HOST'] !== 'slave.bowo.name') {
        
header'Location: http://slave.bowo.name:7778' ) ;
    }

chdir("..");
include_once 
"htmllib/lib/displayinclude.php";

$kloxo_mr_version $sgbl->__ver_full;

init_language();

$cgi_clientname $ghtml->frm_clientname;
$cgi_class $ghtml->frm_class;
$cgi_password $ghtml->frm_password;
$cgi_forgotpwd $ghtml->frm_forgotpwd;
$cgi_email $ghtml->frm_email;

$cgi_classname 'client';
if (
$cgi_class) {
        
$cgi_classname $cgi_classname;
}

$accountlist = array('client' => "Kloxo Account"'domain' => 'Domain Owner''mailaccount' => "Mail Account");
$progname $sgbl->__var_program_name;

if (
$sgbl->is_this_slave()) {
        print(
"Slave Servern");
        exit;
}

$logfo db_get_value("general""admin""login_pre");
$logfo str_replace("<%programname%>"$sgbl->__var_program_name$logfo);

if (!
$cgi_forgotpwd) {
        
$ghtml->print_message();
        
?>

<!--- include start --->

<div align="center">
    <div class="login">
        <div class="login-form">
            <div align="center"><font size="5" color="red"><b> Login </b></font></div>
            <br/>

            <form name="loginform" action="/htmllib/phplib/" onsubmit="encode_url(loginform) ; return fieldcheck(this);"
                  method="post">
                <div class="form-block">
                    <div class="inputlabel">Username</div>
                    <input name="frm_clientname" type="text" class="inputbox" size="30"/>

                    <div class="inputlabel">Password</div>
                    <input name="frm_password" type="password" class="passbox" size="30"/>
                    <br/>
                    <input type="hidden" name="id" value="<?php echo mt_rand() ?>"/>

                    <div align="left"><input type="submit" class="button" name="login" value="Login"/></div>
                </div>
            </form>
        </div>
        <div class="login-text">
            <div class="ctr"><img src="/img/login/icon.gif" width="64" height="64" alt="security"/></div>
                        <?=$logfo?>
            <a class="forgotpwd" href="javascript:document.forgotpassword.submit()"><font color="black"><u>Forgot
                Password?</u></a>

            <form name="forgotpassword" method="post" action="/login/">
                <input type="hidden" name="frm_forgotpwd" value="1"/>
            </form>
            <script> document.loginform.frm_clientname.focus(); </script>
        </div>
        <div class="clr"></div>
    </div>
    <span align="right">Kloxo-MR <?php echo $kloxo_mr_version ?></span>
</div>

<div id="break"></div>

<?php
        
if (if_demo()) {
                print(
"<div align='center'>");
                include_once 
"lib/demologins.php";
                print(
"</div>");
        } else {
        }
} elseif (
$cgi_forgotpwd == 1) {
        
?>


<div align="center">
    <div class="login">
        <div class="login-form">
            <div align="center"><font name=Verdana size=5 color=red><b> Forgot Password </b></font></div>
            <br/>

            <form name="sendmail" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
                <div class="form-block">
                    <div class="inputlabel">Username</div>
                    <input name="frm_clientname" type="text" class="inputbox" size="30"/>

                    <div class="inputlabel">Email Id</div>
                    <input name="frm_email" type="text" class="passbox" size="30"/>
                    <br/>
                    <input type="hidden" name="frm_forgotpwd" value="2"/>
                    <div align="left"><input type="submit" class="button" name="forgot" value="Send"/></div>
                </div>
            </form>
        </div>
        <div class="login-text">
            <div class="ctr"><img src="/img/login/icon1.gif" width="64" height="64" alt="security"/></div>
            <p>Welcome to <?php echo  $sgbl->__var_program_name?></p>

            <p>Use a valid username and email-id to get password.</p>
            <br/>
            <a class=forgotpwd href="javascript:history.go(-1);"><font color="black"><u>Back to login</u></a>
        </div>

        <script> document.sendmail.frm_clientname.focus(); </script>

        <div class="clr"></div>
    </div>
    <span align="right">Kloxo-MR <?php echo $kloxo_mr_version ?></span>
</div>
<div id="break"></div>

        <?php
} elseif ($cgi_forgotpwd == 2) {


        
$progname $sgbl->__var_program_name;
        
$cprogname ucfirst($progname);

        
$cgi_clientname $ghtml->frm_clientname;
        
$cgi_email $ghtml->frm_email;


        
htmllib::checkForScript($cgi_clientname);
        
$classname $ghtml->frm_class;

        if (!
$classname) {
                
$classname getClassFromName($cgi_clientname);
        }

        if (
$cgi_clientname != "" && $cgi_email != "") {
                
$tablename $classname;
                
$rawdb = new Sqlite(null$tablename);
                
$email $rawdb->rawQuery("select contactemail from $tablename where nname = '$cgi_clientname';");


                if (
$email && $cgi_email == $email[0]['contactemail']) {
                        
$rndstring randomString(8);
                        
$pass crypt($rndstring);

                        
$rawdb->rawQuery("update $tablename set password = '$pass' where nname = '$cgi_clientname'");
                        
$mailto $email[0]['contactemail'];
                        
$name "$cprogname";
                        
$email "Admin";

                        
$cc "";
                        
$subject "$cprogname Password Reset Request";
                        
$message "nnnYour password has been reset to the one below for your $cprogname login.n";
                        
$message .= "The Client IP address which requested the Reset: {$_SERVER['REMOTE_ADDR']}n";
                        
$message .= 'Username: ' $cgi_clientname "n";
                        
$message .= 'New Password: ' $rndstring '';

                        
//$message = nl2br($message);

                        
lx_mail(null$mailto$subject$message);

                        
$ghtml->print_redirect("/login/?frm_smessage=password_sent");

                } else {
                        
$ghtml->print_redirect("/login/?frm_emessage=nouser_email");
                }
        }
}
?>
<!--- include end --->
[root@slave login]#
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080701
« Reply #58 on: 2013-08-11, 18:46:18 »
Instead using custom-inc.php, better using custom-index.php and placing:
Code: [Select]
   if ($_SERVER['HTTP_HOST'] !== 'slave.bowo.name') {
        header( 'Location: http://slave.bowo.name:7778' ) ;
    }
in after '<?php'.

and delete custom-inc.php (no needed) and because back to use inc.php.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: [NEWS] Kloxo-MR 6.5.0.f-2013080502 (update to 2013080701
« Reply #59 on: 2013-08-11, 19:01:52 »
done :D
but still blank page

Code: [Select]
[root@slave login]# cat custom-index.php
<?php

            
if ($_SERVER['HTTP_HOST'] !== 'slave.bowo.name') {
                
header'Location: http://slave.bowo.name:7778' ) ;
            }

        
ini_set("display_errors","1");

        
// use default index.php
        
if (!file_exists("./custom-index.php")) {
?>


<?php
        
if (file_exists("./custom-inc.php")) {
                
// use user-define inc.php -- no override when kloxo update
                
$incfile "./custom-inc.php";
                if (
file_exists("./custom-inc2.php")) {
                        
$incfile2 "./custom-inc2.php";
                }
        }
        else {
                
// use default inc.php
                
$incfile "./inc.php";
                if (
file_exists("./inc2.php")) {
                        
$incfile2 "./inc2.php";
                }
        }

?>

« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.047 seconds with 18 queries.

web stats analysis