Re: [users@httpd] No Content-Type header despite DefaultType directive

2011-12-06 Thread Igor Cicimov
I think it also depends on the file exstension and you dont have any. Then it depends on how the file exstension is mapped in apache. On Dec 6, 2011 2:09 AM, Dennis Jacobfeuerborn denni...@conversis.de wrote:

Re: [users@httpd] No Content-Type header despite DefaultType directive

2011-12-06 Thread Igor Cicimov
I think it also depends on the file exstension and you dont have any. Then it depends on how the file exstension is mapped in apache. And also what kind of Accept header the browser sends. You might read the mod_mime and mod_negotiation docs for more details. On Dec 6, 2011 2:09 AM, Dennis

Re: [users@httpd] No Content-Type header despite DefaultType directive

2011-12-06 Thread Tom Evans
On Mon, Dec 5, 2011 at 3:08 PM, Dennis Jacobfeuerborn denni...@conversis.de wrote: Hi, I am trying to get Apache to send a file with the filename test that contains html through a filter for the mime type text/html. The problem is that even when I set a DefaultType in .htaccess the response

Re: [users@httpd] No Content-Type header despite DefaultType directive

2011-12-06 Thread Dennis Jacobfeuerborn
On 12/06/2011 11:13 AM, Tom Evans wrote: On Mon, Dec 5, 2011 at 3:08 PM, Dennis Jacobfeuerborn denni...@conversis.de wrote: Hi, I am trying to get Apache to send a file with the filename test that contains html through a filter for the mime type text/html. The problem is that even when I set a

[users@httpd] No Content-Type header despite DefaultType directive

2011-12-05 Thread Dennis Jacobfeuerborn
Hi, I am trying to get Apache to send a file with the filename test that contains html through a filter for the mime type text/html. The problem is that even when I set a DefaultType in .htaccess the response doesn't contain a Content-Type header. The browser actually displays the content as