Error pages customization-Cpanel

Some times when you enter the URL of a web page you do not get the web page you want but you see an error page displayed on the screen. This error is due to some of the problems such as you have entered a wrong URL, an outdated URL or you do not have an authorized access to the web page. If you to have a web site then you will have to create custom error pages to display when a user enters a wrong URL, an outdated URL or when the user is not authorized to access a specific page of your website on the web space provided to you. For this purpose you will need different types of tools. Below are some of the error types and the tools to create the error pages for the same.Following five types of errors are included in the error pages:-

1) 400 (Bad Request)

2) 401 (Authorization required)

3) 403 (Forbidden)

4) 404 (Wrong page)

5) 500 (Internal server error)

You can click on the error page number (400, 401, 403, 404, 500) to customize the web page or you can also enter the error page name (Bad Request, Authorization required, Forbidden, Wrong page, Internal server error)

You will have the following seven tags available when the error page loads:-

1) Referring URL: – Displays the URL of the website the user was previously viewing.

2) Visitor’s IP address: – Displays the IP address of the visitor viewing the error page.

3) Requested URL: – Displays the intended url the visitor is trying to view.

5) Server name: – Displays the web site’s server name.

6) Visitor’s browser: – Displays the visitor’s browser type such as IE, FireFox, Netscape, etc.

7) Redirect Status Code: – This displays the type of code in the 300-307 range.

Hope this helps you to create an error page for your web site.

Posted in cpanel hosting | Leave a comment

How to Limit Firefox-RAM Usage

In case your Firefox browser using too much RAM, you can limit Firefox-RAM Usage which will make your firefox browser load faster. Follow the following steps to limit the ram;

*  Type about:config into your address bar and hit Enter.

*  In the Filter text box, at the top of the page, type browser.cache.

*  Double-click the “browser.cache.memory.capacity” entry.

*  The default is 50000. If you don’t have a lot of memory, change the number to 15000 and click OK. Accept the change.

Firefox keyboard shortcuts: – get work done faster with the following keyboard shortcuts.

General shortcuts

What it does
Ctrl-D     Add bookmarks
Ctrl-B     Display bookmarks in the sidebar
Ctrl-J     Display downloads
F11     Full screen view
Ctrl-H     Display history
Ctrl-P     Print
F5     Refresh page

Navigation shortcuts

Alt-Left Arrow     Back
Alt-Right Arrow     Forward
Ctrl-O     File Open
F6     Next Frame
Shift-F6     Previous Frame
Alt-Home     Go to Home Page
Ctrl-L     Go to the Address Bar
Ctrl-K     Go to the Search Box
Esc     Stop
Ctrl-T     Open a tab
Ctrl-W     Close a tab
Ctrl-Tab     Go to the next tab
Ctrl-Shift-Tab     Go to the previous tab
Ctrl- (1-9)     Select a specific tab
Alt-F4     Close a window
Ctrl-N     Open a new window

Text shortcuts

Ctrl-C     Copy
Ctrl plus -     Decrease text size
Ctrl plus +     Increase text size
Ctrl-0     Return to text size default

The Firefox-keyboard shortcuts can be much faster than using the mouse and menus.

Posted in firefox | Leave a comment

eAccelerator-Binary video file error

eAccelerator to boost up speed of PHP code execution  but some times you may get binary files instead of video file while browsing video files. To get rid this problem  you will need to insert following code in .htaccess file of your video server hosting account. Here is the process;

——————————  Insert below code in .htaccess file —————————

php_flag eaccelerator.enable 0
php_flag eaccelerator.optimizer 0

—————————————————————————————————————
Once you insert the above code in .htaccess file such problem should get resolved.

About eAccelerator- is a free open-source PHP accelerator which is being used for optimizing PHP scripts and for reducing server load. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times. – eaccelerator.net

Posted in web development | Leave a comment