Apache Handlers, running html as php
Apache handlers allow you to control what Apache will do with certain file types. When Apache sees a file, it has an action built in for that file type, and will perform that action.
If you wish Apache to do a different action, you will need to make a handler to tell Apache to perform that action. For example, if you use a file type that requires a special service to run it, such as a file with server side includes that is not named with a .shtml extension, you need to tell Apache to treat these files differently.
To get regular html pages to handle php code, you need to add this line to your htaccess file. It is highly recommended that you never allow html pages to automatically handle php or shtml, because this forces all of your html pages to be processed by the server first. Instead, please rename your files to .php or .shtml whenever possible.
System Mime Type defaults
Was this answer helpful?
The public_html folder is the web root for your primary domain name. This means that...
Go to cPanel and click Redirects. This is also known as 301 redirect. Search engines, like...
WARNING Never create a redirect for domain.com to www.domain.com or from domain.com to...
phpMyAdmin is a tool written in PHP to handle the administration of MySQL over the web....
Yes, a manual for cPanel is available online. Click here to view it.
Powered by WHMCompleteSolution