Tag: PHP

Increase the max upload filesize in apache/php

by admin on Sep.07, 2009, under DirectAdmin

edit:
/usr/local/lib/php.ini
Search for

; Maximum allowed size for uploaded files.
upload_max_filesize = 2M

Change the 2M to whatever new value you want, then restart apache.

Leave a Comment :, , , more...

How to forward a website to another url

by admin on Sep.07, 2009, under DirectAdmin

There are several ways to accomplish this task, but the simplest to understand is to use php.
To do this, you need to create the page that will do the forwarding. This can be any page, as long as it ends in ".php". If you are trying to redirect a domain, you’d create "index.php" inside the public_html directory.
Once you decide which page you will use, then create the file and enter the following text:

<?php
header("Location: http://whereyouwant.com/to/go.html");
?>

Where http://whereyouwant.com/to/go.html is the location that you want the page to forward to. You can use local values, ie: /page.html, or full urls as in the above example (http://..etc.)

Leave a Comment :, , , , more...

Litespeed upgrade 18/08/2009

by admin on Aug.18, 2009, under News

Pelanggan YTH

Hari ini, kami telah melakukan update untuk Litespeed web server yang digunakan pada hosting server kami yaitu vhost 03, vhost 04, vhost 05 dan vhost 06. Adapun kelebihan dari versi terbaru ini adalah :

Version              Release Date      Type
Web Server 4.0.10     08-18-2009     Minor bug fixes and Security enhancements

* Fixed 503 errors and can tolerant PHP crash under certain situation.
* Changed admin console to suEXEC mode, which is more secure and stricter on file permissions.
* Improved PHP build script in admin console.
* Fixed a bug that causes 403 access deny when access file containing symbolic link.
* Fixed a few minor Apache compatibility issues.

Leave a Comment :, , , , more...

LiteSpeed Web Server 4.0.5 Released

by admin on Jun.26, 2009, under News

LiteSpeed Technologies, Inc. has released LiteSpeed Web Server 4.0.5.
LiteSpeed Web Server is the leading high-performance, high-scalability web server, featuring Apache interchangeability. When serving static content, LiteSpeed surpasses well-respected content accelerators including thttpd, boa and TUX. When it comes to dynamic content, LiteSpeed is more than 50% faster in PHP content delivery than Apache with mod_php.
This is a minor feature/security enhancement release including improved Apache compatibility, a new hacking shield to actively defend buffer overflow attempts, license management tool in cPanel/WHM plug-in.
Customer using a previous version of LiteSpeed Web Server is recommended to upgrade to this release.

About LiteSpeed Technologies, Inc.

Based in New Jersey, LiteSpeed Technologies is a U.S. company dedicated to software technologies that enable faster Internet content delivery and infrastructure cost reduction for large websites, service providers, and enterprise data centers.
LiteSpeed Web Server, the company’s flagship product, is quickly becoming the industry leader of the web server market in terms of performance, scalability and security.
LiteSpeed Web Server is the only full-featured, optimized web server that is interchangeable with Apache. LiteSpeed Web Server seamlessly integrates with web hosting software including popular control panels.
Version Release Date Type
Web Server 4.0.5 06-26-2009 Minor Feature/Security Enhancements
  • Added support for mod_auth_passthrough to seamlessly integrate with cPanel FrontPage extension.
  • Implemented hacking shield to actively defend hacking attempts of buffer overflow.
  • Fixed a browser compatibility issue by turning off GZIP compression when there is a custom “Content-Encoding” response header added by CGI script.
  • Added license management in cPanel/WHM plug-in.
Leave a Comment :, , , , , , , more...

LXAdmin Administrator Tutorial

by admin on Feb.16, 2009, under Tutorial

1. INTRODUCTION

1a. Introduction

LXadmin “Host in a box” is the only control panel that makes use of Lighttpd and DJBDNS which only uses 8 MB of RAM with a freshly installed system. The control panel itself uses 1 MB of RAM when idle. LXadmin “Host in a box” is part of LXadmin, the leading light-weight control panel in the industry. The only difference between the two is the use of different daemons.

This lightweight control panel has all of the features included in all leading control panels such as mail, spam filter, PHP, CGI, Perl, SUexec, FTP, MySQL and much much more. You will get to find out more in this document as you read.


2. THE BASICS

2a. Accessing the control panel

There are several ways to access LXadmin:

http://yourdomain:7778 – You can access the control panel through any hosted domain by putting :7778 at the end of the domain.

https://yourdomain:7777 - You can access the control panel securly using SSL through any hosted domain by putting :7777 at the end of the domain.

http://192.168.0.1:7778 or https://192.168.0.1:7777 - You can access the control panel through any IP address allocated to the server.  This is useful when your domain transfer has not yet propagated.

A window (top right image) will appear.  Enter your username and password and you should have successfully logged in.

login

2b. Changing your password

2b
To change your password, click client home and then on the top right corner, you will see the password tab. Click on it and fill in your existing password and the new password twice and click Update.

2c. Adding a DNS Template

You have to add a DNS template initially. DNS template is the DNS configuration which will be copied to your domain’s DNS when a new domain is created. For adding a DNS template, you have to basically specify the primary and secondary nameservers for the domains you are planning to create on this server. For instance: ns1.lxlabs.com and ns2.lxlabs.com . The name is simply an identifier which will be used later when creating the domain.

For creating a new DNS template,

go to “Client Home” page and under “Domains“, click the “DNS Templates” icon

In the DNS Templates page, you can see the list of existing DNS templates. If you do not have any existing DNS template, create a new DNS template by clicking the “Add DNS Template” tab on the top.

In the next page, enter the DNS information for the template:

Click the “Add” button and the new DNS template is created. You can see the new DNS template in the list of DNS Templates

Click on the new DNS Template name to edit DNS records like NS, A, CNAME, MX and TXT

2d. Add a Reseller

Before you proceed to add a new Reseller, you have to add a new plan for the new client/reseller
To add a new plan,

To add a new plan, click “Client Plans” icon

In the next page, click the “Add Client Plan” tab.

Here you can enter the plan details like:

Client Plan name)
Description of the plan
Number Of Clients allowed
Number Of Domains allowed
Disk Usage (in MB)
Number Of Subdomains allowed
Mail Disk Usage (in MB) limit
Number Of Autoresponders allowed
Number of Mail Accounts allowed
Number Of Mailing Lists allowed
Traffic (in MB per Month) limit
Maximum number of MySQL Databases
Maximum Number Of Domain Users
Ability to add more domains
Ability to set Disabled URL
Ability to Enable Ssl
Ability to Enable Statistics
Ability to Enable Cgi
Ability to Enable Php
Ability to Enable Asp.net (ignored On Linux)
Allow Scheduler Management or not
Allow Backup Scheduling or not
Allow Backing Up or not
Can Manage DNS or not

Once you have created the plan, go back to the “Client Home” page and click the “Clients” button link

This page will list your existing customers and resellers. If you do not have any, click on either the “Add Reseller” tab that you see on the top.

In the “Add Reseller” page, enter a name for your Reseller, password and email address.
If you enable the “Send Welcome Message” check box, an email with the account details will be sent automatically to the Reseller’s email address.
Select the plan you have created earlier and click “Add” button.

Now in the “Clients” page, you should be able to see the new Reseller that you have created:


Leave a Comment :, , , , , , , , , , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Kontak

Budhi Indah A 31
Cimindi Cimahi 40514
West Java
Indonesia

Phone/SMS :
Info/Bantuan : 62-8158-6270622
Billing/konfirmasi : 62-8888-763551

Self Advertise


My site is worth $7548.2.
How much is yours worth?