| Summary: | [WWW server] missing url.access-deny: .inc does not work. | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | chinsan <chinsan> |
| Component: | Books & Articles | Assignee: | Wolfram Schneider <wosch> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | CC: | wosch |
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
chinsan
2007-08-30 15:50:11 UTC
On 8/30/07, chinsan <chinsan@freebsd.org> wrote: > > >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. Oh.. I found what really matters: url.access-deny instead of mime type. > >Fix: Remove .inc from lighttpd.conf, ie: -url.access-deny = ( "~", ".inc" ) +url.access-deny = ( "~" ) Hello chinsan, > 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". Ok I see why you want to allow .inc files. I haven't read through the entire PR. I think you want to contact wosch@ directly, as this needs his intervention (he is responsible for lighttpd's configurations IIRC) -- Best regards, Daniel mailto:danger@FreeBSD.org Responsible Changed From-To: freebsd-www->wosch wosch@ will handle this. State Changed From-To: open->closed as suggested, allow '.inc' file names. |