From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7+) Gecko/20020109 Description of problem: When enabling tux, the mime type of .html files is set to text/plain by default. They get displayed as-is by the browser. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. service tux start 2. go to http://localhost/index.html 3. get the html listing as plain text Actual Results: HTTP/1.1 200 OK Content-Type: text/plain Connection: Keep-Alive Date: Server: TUX/2.0 (Linux) Content-Length: 2890 ETag: "2890-dmbpjgnp" Accept-Ranges: bytes Last-Modified: Tue, 18 Dec 2001 19:19:59 GMT Expected Results: text/html would have been better :-) Additional info: Trying the /etc/tux.mime.types file on an older version of tux worked fine.
Should be fixed in current rawhide
Bug confirmed to exist in tux-2.2.5-1, same results.
This bug does not appear with tux-2.2.4-1 and kernel-2.4.9-26beta.53.
Please test tux-2.2.5-1 and kernel-2.4.9-26beta.53 -- there are no differences in tux that would affect this between 2.2.4 and 2.2.5 -- the only difference is that the tux initscript runs "sysctl -p /etc/sysctl.tux" if /etc/sysctl.tux exists, and the documentation was modified to account for the change.
Well, a quick test with current rawhide packages still doesn't work : kernel-2.4.18-0.13 tux-2.2.5-1 Here is my /etc/sysctl.conf : # Tux configuration net.tux.virtual_server = 0 net.tux.http_dir_indexing = 1 net.tux.ftp_subdocroot = /ftp/ net.tux.http_subdocroot = /html/ net.tux.logging = 1 I get the source of the default index.html apache page when trying to access the running Tux httpd server :-(
Sorry, Matthias, my last comment was directed at bbrock, not you. I apologize for not making that clear.
I had guessed so since I don't think I can get my hands on kernel 2.4.9-26beta.53... ;-) But since an older comment said that things were supposed to be fixed in current rawhide, I thought I might as well mention that they aren't for me, at least not anymore. Could it be something I'm doing wrong? :-/
don't see this with tux-2.2.[45]-1 and kernel-2.4.9-26beta${foo} for values of ${foo} greater than in rawhide that are relatively close to 53.