[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Text files treated like html in apache 2.4



On 13/05/14 10:28, Stephen Powell wrote:
> 
> My troubles with Apache 2.4 continue.  With Apache 2.2, if I entered in
> the address bar of my browser
> 
>    http://my.server.ip.address/xyz/abc.txt
> 
> and abc.txt was a plain ASCII text file in /var/www/xyz, then the browser
> would display it as preformatted text.  That is, it would look the same
> as if I viewed it with less, or vi, or some other text editor/viewer.
> But with Apache 2.4, it treats the text file like html and reformats
> everything, concatenating lines, eliminating blank lines, etc.  How do
> I get it to treat plain text like plain text again?
> 

Are you using type-map? Is the AppHandler added?
Do you have DefaultType set in .htaccess? Is so - what is it set to?


Kind regards



Reply to: