Forum Moderators: coopster
AddType application/x-httpd-php .html
on the apache config files because security issues.
Accord to them, if I make a mistake on the sript, it will display on the client's browser, and it will show my data structure and info the client. Since we have some scripts that access our database, it will be a company risk.
I would like to ear from people here who know about it what are the real concerns and risk one will take if they use that addtype for parsing PHP into .html files.
Thank you
RewriteEngine On
RewriteRule ^(.*).html $1.php [L]
You will save all your files with php extension, but you will create all the links with html extension. For example, you will have "contacts.php" file, but the link to this file will be "contacts.html"