Project

General

Profile

Actions

Bug #2080

closed

Bug#536668: lighttpd: Static HTML file results in Content-Type: application/octet-stream

Added by fizk over 14 years ago. Updated over 14 years ago.

Status:
Invalid
Priority:
Low
Category:
-
Target version:
-
ASK QUESTIONS IN Forums:

Description

Originally posted by Olaf on Debian mailing list. I'm getting this error too, on CentOS 5:

Hi,

GET / HTTP/1.1
Host: 192.168.1.7
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cache-Control: max-age=0

HTTP/1.1 200 OK
Content-Type: application/octet-stream
Accept-Ranges: bytes
Content-Length: 3585
Date: Mon, 13 Jul 2009 08:43:33 GMT
Server: lighttpd/1.4.23

Greetings,

Olaf

Actions #1

Updated by darix over 14 years ago

  • Status changed from New to Invalid
  • Priority changed from High to Low
Actions #2

Updated by fizk over 14 years ago

  • Status changed from Invalid to Reopened

Do I need to use mimetype to serve a basic html page?

On Ubuntu, I don't have use the mimetype module. Why would this be the solution on CentOS?

Actions #3

Updated by icy over 14 years ago

  • Status changed from Reopened to Invalid

Please read the documentation again and also the Ubuntu default config, it does contain mimetypes.

Actions #4

Updated by fizk over 14 years ago

Sorry, you're right, that was the problem.

Actions

Also available in: Atom