It turns out that .htmlx is just a synonym for .shtml, an extension used to indicate Server Side Includes, processed by the same handler in Apache (and NCSA). Duplicating the similar lines for .shtml: AddType text/html .htmlx AddHandler server-parsed .htmlx takes care of it. (Well, that and allowing execution in the directory concerned.)