Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-12 Thread Eric Covener
On Fri, Feb 12, 2010 at 4:48 AM, Philip Wigg wrote: > I think this is probably a Windows thing and not to do with the web > server configuration at all. Internet Explorer seems to go through > quite a complex process to decide what to do with specific file > extensions that doesn't just rely on th

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-12 Thread Philip Wigg
On 9 February 2010 19:51, Jonathon Veencamp wrote: > I don't think it's a poor editting thing.  I think this is the difference > between Unix and Windows and CR/LF on Windows versus LF on Linux.  The HTTP > server is adding CR/LF to .txt files to display them correctly in the > browser.  But I can

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-11 Thread Nick Kew
On Tue, 9 Feb 2010 13:47:25 -0600 Jonathon Veencamp wrote: > But if I rename the file to *.log.txt, then the HTTP server and browser > handles it correctly. So the HTTP server is doing something different > natively with .txt files No, the server does nothing with the files, unless you (active

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Jeff Trawick
On Tue, Feb 9, 2010 at 3:29 PM, Jonathon Veencamp wrote: > > Sorry about that.  1.1 doesn't work, but 1.0 did. > > beta1linux:/opt/local/logs/Websphere_7.0_logs/w70edu1 # telnet 127.0.0.1 80 > Trying 127.0.0.1... > Connected to 127.0.0.1. > Escape character is '^]'. > GET > /links/@_View_AppServer

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Daniel Reinhardt
-- From: "Jonathon Veencamp" Sent: 09 February, 2010 20:03 To: Subject: Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing? I'll quantify the problem a little better. If I go on linux to the director

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Jonathon Veencamp
Sorry about that. 1.1 doesn't work, but 1.0 did. beta1linux:/opt/local/logs/Websphere_7.0_logs/w70edu1 # telnet 127.0.0.1 80 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. GET /links/@_View_AppServer_Logs/@DEV_BETA_server_logs/Websphere_7.0_logs/w70edu1/test.logHTTP/1.0 HTT

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Jeff Trawick
On Tue, Feb 9, 2010 at 3:16 PM, Jonathon Veencamp wrote: > Good suggestion Jeff, but it won't be instructive as the local end of line > delimiter will be linux vs Windows > > beta1linux:/opt/local/logs/Websphere_7.0_logs/w70edu1 # telnet 127.0.0.1 80 > Trying 127.0.0.1... > Connected to 127.0.0.1.

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Jonathon Veencamp
Good suggestion Jeff, but it won't be instructive as the local end of line delimiter will be linux vs Windows beta1linux:/opt/local/logs/Websphere_7.0_logs/w70edu1 # telnet 127.0.0.1 80 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. GET /links/@_View_AppServer_Logs/@DEV_BETA

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Jonathon Veencamp
this list, and it was suprisingly fast response! > > Jon > On Tue, Feb 9, 2010 at 1:40 PM, Daniel Reinhardt < > crypto...@cryptodan.net> wrote: > >> >> -------------- >> From: "Jonathon Veencamp" >>

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Jeff Trawick
On Tue, Feb 9, 2010 at 2:51 PM, Jonathon Veencamp wrote: > I don't think it's a poor editting thing.  I think this is the difference > between Unix and Windows and CR/LF on Windows versus LF on Linux.  The HTTP > server is adding CR/LF to .txt files to display them correctly in the > browser. no,

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Jonathon Veencamp
; > Sent: 09 February, 2010 19:31 > To: > Subject: [us...@httpd] How to force CRLF on non .txt files when directory > browsing? > > > Hello, >> >> I've beat my head on this wall far too long, and googled the heck out of >> it, >> so I'll ask the

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Jonathon Veencamp
Tried that in my conf/httpd.conf file. And restarted the server. AddType text/plain .log AddType text/plain .properties As I understand, it informs the browser what to do with it. And that's good. But I think this is a server side problem. It still isn't using the Windows convention of CR/LF.

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Daniel Reinhardt
-- From: "Jonathon Veencamp" Sent: 09 February, 2010 19:31 To: Subject: [us...@httpd] How to force CRLF on non .txt files when directory browsing? Hello, I've beat my head on this wall far too long, and googled the heck out

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Jeff Trawick
On Tue, Feb 9, 2010 at 2:31 PM, Jonathon Veencamp 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. 

[us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Jonathon Veencamp
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 s