Facebook Twitter Reset

This Tutorial Has Been Viewed 7,681 Times.

Adding apache handlers in cpanel

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 ,

7 Responses to “Adding apache handlers in cpanel”

  1. soorrubjextut
    March 6, 2009 at 9:50 pm #

    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
    March 6, 2009 at 11:12 pm #

    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. March 12, 2009 at 8:52 pm #

    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
    March 22, 2009 at 6:19 pm #

    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. March 22, 2009 at 10:09 pm #

    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
    March 25, 2009 at 2:06 pm #

    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. April 20, 2009 at 7:40 pm #

    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 Comment

Spam protection by WP Captcha-Free

Affordable Seo PackagesSeo BlogEdu Backlinks
More in PHP (18 of 122 articles)