Skip to main content
Skip to main content

Apache Handlers

Apache handlers control how the Apache web server software manages certain file types and extensions for your site. Apache comes configured to handle CGI scripts and server-parsed files. You can configure Apache to handle a new file type with an existing handler by manually adding the handler and extension below. For example, to have the server treat files with the extension .example as CGI files, you would type “cgi-script” under Handler and “.example” under Extension(s).

Create an Apache Handler

Tip: Separate multiple extension types with a space.

Apache Handlers

User Defined Apache Handlers

Handler Extension(s) Actions
application/x-httpd-ea-php74 .php .php7 .phtml

System Apache Handlers

Handler Extension(s)
cgi-script .cgi .pl .plx .ppl .perl
server-parsed .shtml