Login to your cPanel and access the option "Apache Handlers".
You can configure Apache to handle a new file type with an existing handler by manually adding the handler and extension.
Apache can handle CGI scripts and server-parsed files. The file extensions for these files include .cgi, .pl, .plx, .ppl, .perl, and .shtml.
To add an Apache handler, perform the following steps:
Enter the handler name in the Handler text box. This can be any name you choose
cPanel includes the following built-in handlers:
Enter the file extension in the Extension(s) text box.
Space-separate multiple extensions (for example, .cgi .pl .ppl).
Click Add.
For more information, read Apache’s documentation.
Note: This interface does not allow you to create custom Apache handlers.
To remove a user-defined handler, perform the following steps:
Click Delete under the Remove heading for the appropriate handler in the User Defined Apache Handlers table.
Click Yes.
Note: You cannot remove the file extensions that Apache automatically handles.
Tweet Share Pin Email