Adding apache handlers in cpanel

This Tutorial Has Been Viewed 7,723 Times.

A “handler” is an internal Apache command that tells the Apache server software what action to perform when a file is called.

apache handlers

Hi guys…

Today i was trying to add apache handlers to one of my webserver through cpanel.

I was actually having some doubt how to proceed because i was not sure of which handler i should give for the php files to run without .PHP extension.

After a lot of trial and error methods i have found out the Handler.

Here i have described how to add a handler with an example

To add an Apache handler:

  1. Click on the Apache handlers button on the home page.
  2. Enter the file extension in the Extension(s) field. You need to add the . before the extension name.
  3. Enter the Apache handler in the Handler field.
  4. Click on the Add button.

You can also see below the list of default handlers in the cpanel

Handler Extension(s)

For example if you want to add a file with extension say your name let your name be TOM

And you have a file named INDEX.TOM in which lot of PHP scripts are written , you want the apache server to compile it as a regular PHP file then the HANDLERS come in to effect

All you have to do is type .TOM extenstion in the Extension(s) field.

and type application/x-httpd-php in the HANDLER field and press Add button.

Now it will show a message that the

AHMHandler Added
The handler application/x-httpd-php has been assigned to the extensions .TOM

OR

Similar to the above message.

Now you are done

type on the browser

http://www.yoursitename.com/index.tom

and you will get your php scripts inside this file compiled successfully.

I want your valuable comments also.

Thanks Guys.

VN:F [1.9.13_1145]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.13_1145]
Rating: 0 (from 0 votes)

Incoming search terms:





You will also be interested in ,

Tags: ,

7 Responses

  1. soorrubjextut says:

    Hi, I just became a part of this forum here and looking forward to helping. Great work by the admin and mods and every member around. You can really tell when people put a lot of effort into a forum and it definitely shows here!

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
  2. LOWNESSELDFER says:

    Hey…!!! such a neat forum my name is Daniel and I am from Fort Lauderdale

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
  3. rerwonten says:

    Hey, I hate to intrude on the board with this, but they are giving away $1,000 Walmart gift cards on a blog.
    You can see for yourselfhttp://conservingmoney.wordpress.com/

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
  4. Jucexipura says:

    havent seen a website like this everything has been given properly..cheers

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
  5. Yurikvugima says:

    a nice website…lot of stuffs and notable things in this website…

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
  6. Lewawoqe says:

    The easiest and straight forwarf tutorial i have ever seen on internet

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
  7. Frank says:

    Just joined the forum, it’s my first post, hello to everyone.
    petroula

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)

Leave a Reply

Spam protection by WP Captcha-Free

Proudly designed by Mistonline.in.
Affordable Seo PackagesSeo BlogEdu Backlinks
More in Apache, PHP (123 of 139 articles)


  PHP main issue Header Already Sent Warning.Deal with it through an easy approach. "Header already sent" error and ...