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

Text files treated like html in apache 2.4



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?

-- 
  .''`.     Stephen Powell    
 : :'  :
 `. `'`
   `-


Reply to: