Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 66721 invoked from network); 8 Jun 2007 20:38:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jun 2007 20:38:36 -0000 Received: (qmail 66147 invoked by uid 500); 8 Jun 2007 20:38:30 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 65697 invoked by uid 500); 8 Jun 2007 20:38:29 -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 65686 invoked by uid 99); 8 Jun 2007 20:38:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jun 2007 13:38:29 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [206.190.39.176] (HELO web50212.mail.re2.yahoo.com) (206.190.39.176) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 08 Jun 2007 13:38:24 -0700 Received: (qmail 60197 invoked by uid 60001); 8 Jun 2007 20:38:02 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=VF1PdGL8IvcQ6kXRsoqgV4viyd4pcefGOPuoUC691S3gkxAvoNRnkCEnR3ZoVTGkRyHM5QWqWTAF0fGZ+j+IzpmVZltl0b+HNO+7IlfBRrCju0rd9TAD0EV4efCdn2hdPmattcavWOLfk4eNhP92eyEki1TtUCDKmLAMTT9iqgw=; X-YMail-OSG: 0cO79O8VM1mGbepxH7cTzw1KFP695CbjLTO5FJF.0SfGSRxeKSWz3aMw0q6Kq19XZg-- Received: from [192.94.73.2] by web50212.mail.re2.yahoo.com via HTTP; Fri, 08 Jun 2007 13:38:02 PDT Date: Fri, 8 Jun 2007 13:38:02 -0700 (PDT) From: Paul Simon To: users@httpd.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <809722.59765.qm@web50212.mail.re2.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Header set Content-type Hi. I'm trying to set Content-type and content-disposition using mod_headers but it's only partly working: RewriteRule sesp-apprv.csv$ - [E=SESP_CONT_DISP:Yes] Header always set Content-Type "application/ms-excel" env=SESP_CONT_DISP Header always set content-disposition "attachment; filename=sesp-apprv.csv" env=SESP_CONT_DISP The content-disposition is being set but not Content-Type. If I substitute the Content-Type line with something like: Header always set BLAH "application/ms-excel" env=SESP_CONT_DISP I'll get a BLAH field set in the response headers. Is it impossible to set the Content-Type? Any suggestions? Thanks, Paul --------------------------------------------------------------------- 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