Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Aug 2007 22:45:36 +0800 (CST)
From:      chinsan <chinsan@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        wosch@FreeBSD.org
Subject:   www/115945: [WWW server] missing mimetype: .inc does not work.
Message-ID:  <20070830144536.BA67350836@blog.homiya.com>
Resent-Message-ID: <200708301450.l7UEoCu2040590@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070830144536.BA67350836>