Edit report at https://bugs.php.net/bug.php?id=61977&edit=1
ID: 61977 User updated by: s...@php.net Reported by: s...@php.net Summary: Need CLI web-server support for files with .htm & svg extensions Status: Closed Type: Bug Package: Built-in web server Operating System: All PHP Version: 5.4.3 Assigned To: laruence Block user comment: N Private report: N New Comment: Make use of the /etc/mime.types file. Previous Comments: ------------------------------------------------------------------------ [2012-06-17 10:49:06] s...@php.net .json - application/json .js - application/javascript (text/javascript is obsolete) .xml - application/xml .ogg - application/ogg .pdf - application/pdf .csv - text/csv .xhtml - application/xhtml+xml ------------------------------------------------------------------------ [2012-05-09 03:30:19] larue...@php.net This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2012-05-08 21:01:03] s...@php.net Updated patch to include svg too ------------------------------------------------------------------------ [2012-05-08 21:00:06] s...@php.net The following patch has been added/updated: Patch Name: php_cli_server.c.patch Revision: 1336510806 URL: https://bugs.php.net/patch-display.php?bug=61977&patch=php_cli_server.c.patch&revision=1336510806 ------------------------------------------------------------------------ [2012-05-08 20:51:06] s...@php.net Description: ------------ >From user notes at http://php.net/manual/en/features.commandline.webserver.php there should be a MIME type for files with .htm extensions. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61977&edit=1