Re: How to force CRLF on non .txt files when directory browsing?

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

 



On Tue, Feb 9, 2010 at 2:31 PM, Jonathon Veencamp <jdveencamp@xxxxxxxxx> wrote:
> Hello,
>
> I've beat my head on this wall far too long, and googled the heck out of it,
> so I'll ask the mailing list on what should be a simple problem.
>
> I have some text files on a linux host with .log and .properties
> extensions.  When these are sent to a windows browser, they do not have
> CR/LF and so each line wraps to the next and they don't format well in the
> browser.  I would like to have the Apache HTTP server treat these the same
> as .txt files, but I've been unable to find the configuration I need to
> change.
>
> I tried adding
> AddType text/html .log
> AddType text/html .properties

text/plain

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux