Possible to have the php engine parse .html files on only certain domains?

I am migrating a few sites from my old host that had individual virtual servers for every account (separate instances of EVERYTHING) that allowed me to change the httpd.conf file to have the php engine parse .html files (it’s simply impossible to tell people to type in correct addresses if it’s not .html or .html). Which was nice. However, now that I am taking those sites to my InterWorx box, I don’t want to slow the whole server down, as negligable as that would be, by parsing EVERY .html file through php.

Any clue how I would go about making this a possibility? I thought that I saw a discussion along these lines here before but I cannot for the life of me find the conversation again.


You should be able to do it in .htaccess or, if not, in the per-domain configuration files in /etc/httpd/conf.d/domain.tld.conf. Although as a disclaimer I don’t remeber if that works or not :slight_smile:


Excellent, that worked like a charm!

Thanks for your help,