Daniel L. Miller dijo [Tue, Nov 03, 2009 at 01:25:23PM -0800]: > >> Assuming PHP is otherwise working for a "standard" configuration, is > >> enabling inline php support just a matter of editing the > >> application/x-httpd-php mime type and adding "html" to the extension > >> list? > > > > No. You'd have to edit the "Extension PHP" rule and replace: "php" by > > "php,html". > Ok - does that mean ONLY modify the extension rule? Or do both the mime > and extension changes?
AFAICT, when you are defining the PHP extension, you are effectively overriding whatetver MIME type would be sent - The MIME type for PHP-generated content is no longer any of the application/x-httpd-php derivatives, but whatever the script states (usually, text/html). If I understand correctly, the declared MIME types are only sent for the 'file' handler. -- Gunnar Wolf • [email protected] • (+52-55)5623-0154 / 1451-2244 _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
