Web Hosting Blog

Blog for Web Hosting Issues, FAQ’s, Tutorials and Troubleshooting, Blogging

Entries for July, 2006

Exim commands.

Greetings members,
Here are some of the exim command that you will find very helpfull when you need to some operation on exim server especially when the mail queue is full.
If you wish to flush the Exim Que and enable debugging you should
Type: exim -qff -d9
exim -bpc : no of emails currently mail queue have
exim [...]

Ssh without password authentication.

Hello members,
If you want to set some cron for the rsync or scp to other server then you will need to ssh the other server in order to execute the crons or if you want to do ssh it in order to execute perticular command there. If you can ssh to other server without password [...]

Error on cpanel [an error occurred while processing this directive]

1)
You receive error [an error occurred while processing this directive] on main cpanel page. Mostly you receive this error because of main domains entry missing in cpanel users file.
If main domain name= domainname.com Please check following file
Vi /var/cpanel/users/username
Search line as per below
DNS=domainname.com
If above entry is not there add it in file.
If the entry is as [...]

Secure /tmp Directory

Changing Partition Attributes (such as securing tmp) do not need a reboot.
You can remount the partition immediately with the new attributes doing something like…
mount -o remount,noexec,nosuid /tmp or
make the change in the fstab
LABEL=/tmp              /tmp                    ext3    noexec,nosuid,nodev,rw  1 2
then remount it mount -o remount /tmp
———————————————————————————-
The following is how to secure your /TMP directory using a [...]

Is it possible to override the php memory_limit setting using htaccess?

You can add this line to your .htaccess file.
php_value memory_limit [new memory limit]
When adding that line to .htaccess, you must use a number, in bytes. For example, 8MB would be about 8000000 bytes.
Bookmark Me

How do you repair a corrupt MySQL table?

Error: Table ‘tbl_ name’ doesn’t exist databasename_tablesname.frm can’t open
If you get either of the following errors, it usually means that no table exists in the current database with the given name:
Table ‘tbl_name’ doesn’t exist
Can’t find file: ‘tbl_name’ (errno: 2)
A ) In some cases, it may be that the table does exist but that you are [...]

How to use Outlook express

OUTLOOK EXPRESS
=============
Outlook express is e-mail application which is used world-wide.
It is easy and usefull tool. It also provides a calendar, task and contact management, note taking, and a journal.
Steps to use Outlook Express ::
———————————
1) Open Outlook Express. Click on Tools and choose Accounts.
2) In the Internet Accounts Window, click Add and choose Mail.
3) Type in [...]

403 FORBIDDEN ERROR

This error usually indicates that the webserver is refusing to fullfill your request.The 403 error can be caused due to many reasons these might be few of them.
Some folder allow you to access and view the list of files.The indexes are off on the servers.You can create a folder and as many files in it [...]

mod_security error while uploading file.

Hello,
If you are not able to upload the file and getting the mod_security related errors like as per below
mod_security: Access denied with code 406. Error processing request body: Multipart: invalid part header (missing colon): Submit Query\\x0d\\x0a [hostname "www.graphicireland.com"] [uri "/woodprint/upload.php"]
then simply add following command in your .htaccess file that will fix your issue.
————————–
SecFilterEngine Off
SecFilterScanPOST Off
————————–
That [...]

Transfer multiple sites in short way..

Hello,
Normally we create the /scripts/pkgacct on old and then restore on the new server with /scripts/restorepkg but that tale d too much time if there are too many accounts on to be trasnfered.
First you will have to make your old server to be as a password less for the new server by copying the public [...]