A customer with Linux Shared Hosting subscription would like to have non-standard extension for their PHP scripts to add extra security to their websites. E.g. a customer wants to process .html files as PHP scripts.
The desired configuration may be achieved through .htaccess file which customer may create in their webspace e.g. using File Manager in POA Customer Control Panel or upload the file using FTP access.
To make files with certain extension(s) be processed by PHP the following directive should be added to the .htaccess file:
AddType application/x-httpd-php .<extension>where <extension> is the desired extension for PHP files. For instance, to have all files with '.html' or '.htm' extensions processed by PHP engine, the directive would look like this:
AddType application/x-httpd-php .htm .html
All PHP files must be renamed with '.html' or '.htm' extensions for this to work properly.