Q:

Running other file types as PHP

Is there any problem with running HTML as PHP via .htaccess? such as security or best practices etc. was doing this to make URLs cleaner.
## run the following file types as php
Addhandler application/x-httpd-php .html .htm .rss .xml

Well ideally id like to have my URLs like 
localhost/blog/posts/view.php?id=64 

to be 
localhost/projects/bittyPHP/bittyphp/posts/view/id-64 

But having trouble accomplishing that without routing everything to one file and having PHP run determine the paths. I guess this is my real question

A:

I would use mod rewrite.
Probably you do not need to run all html files as PHP, and if you have short_tags enabled "<?" in XML will give you trouble.

