www/115945: [WWW server] missing mimetype: .inc does not work.
chinsan
chinsan at FreeBSD.org
Thu Aug 30 07:50:13 PDT 2007
>Number: 115945
>Category: www
>Synopsis: [WWW server] missing mimetype: .inc does not work.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-www
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 30 14:50:11 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: chinsan
>Release: FreeBSD 6.2-STABLE i386
>Organization:
Taiwan
>Environment:
System: FreeBSD blog.homiya.com 6.2-STABLE FreeBSD 6.2-STABLE #1: Wed Jul 25 09:11:00 CST 2007 root at blog.homiya.com:/usr/obj/usr/src/sys/SMP i386
>Description:
lighttpd doest not include .inc file type as the default mimetypes.
Therefore, it will return 403(Forbidden) error.
http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/Makefile.inc
>How-To-Repeat:
Try
http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/Makefile.inc
http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/xdr/Makefile.inc
or anything else which end with ".inc".
>Fix:
Add the following line into lighttpd.conf:
".inc" => "text/plain",
Finally, restart lighttpd.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-www
mailing list