Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 74015 invoked from network); 9 Feb 2010 19:58:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Feb 2010 19:58:15 -0000 Received: (qmail 88111 invoked by uid 500); 9 Feb 2010 19:58:11 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 88091 invoked by uid 500); 9 Feb 2010 19:58:11 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 88082 invoked by uid 99); 9 Feb 2010 19:58:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 19:58:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of trawick@gmail.com designates 209.85.210.175 as permitted sender) Received: from [209.85.210.175] (HELO mail-yx0-f175.google.com) (209.85.210.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 19:58:04 +0000 Received: by yxe5 with SMTP id 5so7136135yxe.24 for ; Tue, 09 Feb 2010 11:57:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=TGBWbF53Iml06Pjnd/xoe7V0ivYwICNPhTLLoTpfUig=; b=tALLnUTMbLlrjYauu0AZSOK8pD1DxIMwE0DGJL+3n1lqmNWAhkNXcLnGSAiOjAZlST Q3T8rlZCzKHJBp52CgnbKrjyy9pIsAVZCW8L9jnd4CdHsaVwIHMPHz3l7NBLLdx4WCCB UM1azVCRxN2tVw6PPs/Oe3s/7pu/wbJV1mIGs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=GSQS4l9WQlc/aSrx1kOjAA8mAiDWrsW1p7DYxKUSxuc3oBiFzgF3oFW8LDphSx4xN9 U+Nhn/kNyqjivDEGQGRd6cj77lIDIgSQ0RX0jfZ2l8oygi5zXVJust+fu8X1xwakk/fu ZmFnRYNK3xw5uT6IPCU2xKPodNs20XQki7SlU= MIME-Version: 1.0 Received: by 10.101.108.6 with SMTP id k6mr11248481anm.53.1265745464041; Tue, 09 Feb 2010 11:57:44 -0800 (PST) In-Reply-To: <24faaf841002091151j311b0a2h207d2ddd85235d7f@mail.gmail.com> References: <24faaf841002091131y352707ccx526f12908243d7fb@mail.gmail.com> <24faaf841002091151j311b0a2h207d2ddd85235d7f@mail.gmail.com> Date: Tue, 9 Feb 2010 14:57:43 -0500 Message-ID: From: Jeff Trawick To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [users@httpd] How to force CRLF on non .txt files when directory browsing? On Tue, Feb 9, 2010 at 2:51 PM, Jonathon Veencamp wr= ote: > I don't think it's a poor editting thing.=A0 I think this is the differen= ce > between Unix and Windows and CR/LF on Windows versus LF on Linux.=A0 The = HTTP > server is adding CR/LF to .txt files to display them correctly in the > browser. no, Apache doesn't do that > =A0 But I can't get it to display .log files in the same m= anner. I dunno if because of some misunderstood config the "text/plain" isn't getting to the browser, or if the browser thinks its smarter than the server. Try this: create a very small .log file replace /example/small.log with the real request URI; if you're using name-based vhosts, replace 127.0.0.1 with your hostname C:\> telnet 127.0.0.1 80 GET /example/small.log HTTP/1.1 Host: 127.0.0.1 See what is displayed for "Content-Type:" just prior to the contents of the log file. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org