support - configuring htaccessConfiguring htaccess To Work With XCommentPro

If you are wondering how to change your .htaccess file to allow PHP code to be processed on HTML files, hopefully the following guidance notes will help.

Disclaimer: It may be best to ask your host to make this settings change for you, if possible. You should take care when altering your .htaccess file, as it can cause access problems for your web site if you get the settings wrong.

If you still want to give it a go, either amend your existing .htaccess or create one in the same folder that your HTML files are situated.

Then, editing that file using Notepad, add the following two lines of text:

AddHandler application/x-httpd-php .php .htm .html
AddType application/x-httpd-php .php .htm .html

Save the changes to the .htaccess file and your HTML files should now process your XCommentPro scripts with no problems.