A redirection (HTTP 302 or friends) does not return any contents. It merely directs the browser to request another URL which will hopefully return the PDF document. That response should contain the header "Content-Type: application/pdf" - not the redirect. Setting the header in a redirect will have no effect on the response serving the PDF file. It is your php program that should set the Content-Type header. Look at other postings on this list for the syntax. As an aside, the [L] ( as in [R,L] ) is not necessary either since if the rewrite rule condition triggers, the redirect will be immediate and no more rewrite rules will be evaluated. -ascs -----Original Message----- From: Tony VanScoy [mailto:tvanscoy@xxxxxxxxx] Sent: Thursday, August 18, 2005 2:20 PM To: users@xxxxxxxxxxxxxxxx Subject: Re: [users@httpd] RewriteMap and sending more then 1 var > Just one thing: why do you set the Content-Type [T] of a redirect [R]?? > > -ascs Because I'm new and I don't know any better. I figure that since I'm sending a PDF, why not set the type? Am I wrong for doing this? --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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