Web Hosting Blog

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

Entries for the ‘Server Security’ Category

Upgrade kernel on live servers

Following are steps to upgrade kernel on live web server
.
1. Check current version of kernel on web server using command uname -a, if
its 2.4 then download latest release for 2.4 please do not download 2.6
kernel.
You can download kernel from http://www.kernel.org/pub/linux/kernel/v2.6/
if its 2.4 then http://www.kernel.org/pub/linux/kernel/v2.4/, you can
check latest stable release from http://www.kernel.org
2. wget kernel in /usr/local/src
3. [...]

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 [...]

Tar command

Tar files creation command :
tar -cvf mystuff.tar mystuff/
tar -czvf mystuff.tgz mystuff/
extracting:
tar -xvf mystuff.tar
tar -xzvf mystuff.tgz
testing/viewing:
tar -tvf mystuff.tar
tar -tzvf mystuff.tgz
Note : .tgz is the same thing as .tar.gz

Changing MX-entries.

You can use the Modify Mail Exchanger (MX Entry) function to change where a domain’s email is delivered to. This allows you to have the email from one domain delivered to another domain. Just follow these simple steps :
1 To access the Mail Menu, click on the [...]

Enable/Disable register_globals

The most common setting that clients will want to change are the “register_globals” settings. If you want to enable register_globals, you will need to create a .htaccess file in your site’s main directory (or the main directory of your site that contains PHP [...]

My IP address is blacklisted. How can it be unlisted?

If your web site hosting server’s IP address is blacklisted in anti-spam database, any e-mail you send will be bounced back. You will receive a mail in the following format:
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or [...]