September 3, 2006

How to disable mod_security for that individual account ?

by @ 9:22 am. Filed under HTML Hosting Tutorials

If you are receiving the error for mod_security, access denied with error code 403 when you check the error logs for any account. You can disable the mod_security for that account by adding a simple code in his .htaccess

==================

SecFilterEngine Off
SecFilterScanPOST Off

==========================

cheap web hosting

August 26, 2006

Enable html files to process SSI directive

by @ 11:00 am. Filed under HTML Hosting Tutorials, Web Hosting Articles

You should place the following lines in the .htaccess file to allow SSI directives to be included in the .html or .htm files

AddHandler server-parsed .html
AddHandler server-parsed .htm
AddType text/html html

August 9, 2006

vDeck- Modification or Backup of Guestbook

by @ 12:04 pm. Filed under HTML Hosting Tutorials

If you are familiar with HTML and wants to modify the display format of your guestbook, then you can do this by editing the file at location .panel/web/guestbook/1
Just login to your control panel and goto File Manager => .panel => web => guestbook => edit the file named “1″. You will find all your guestbook entries there. If you miss anything then your gustbook will not show the data properly.

July 30, 2006

Convert ^M to newline character in text files

by @ 7:25 pm. Filed under HTML Hosting Tutorials

If ^M character showing up in files while opening that file in vi editors use the following step to Convert ^M to new line character

In vi use the following:

:%s/^M/\n/g

or with perl on the command line:

$ perl -pi.bak -e ’s/^M/\n/g’

NOTE: Be sure to create the ^M by typing ctrl+V followed by ctrl+M.

^M is ASCII 13 (Ctrl+M), which is the carriage return.

Different operating systems use different symbols to set the end of a line/new line.
Unix uses newline (\n)
Mac uses carriage return (\r)
And Windows/DOS use both (\n\r)

To prevent the ^M from showing up in files, be sure to use ASCII (text) mode when transfering text files.

RESELLER HOSTING | DEDICATED SERVER | PREMIUM HOSTING | VPS HOSTING

Micfo Hosting

Micfo International LLC Leading the hosting Industry with Cheap and Affordable Linux Web Hosting Packages.

internal links:

categories:

archives:

Services:

Micfo Hosting

Micfo, delivering the best cpanel web hosting with maximum reliability is our exclusive focus.
Micfo International LLC

search blog:

TOP 10 POSTS:

Pages:

General Links:

Syndicate

other:

36 queries. 0.117 seconds