httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Mime Type when url contains query
Date Sun, 07 Nov 2010 02:07:27 GMT
2010/11/3 jan@lender.cz <jan@lender.cz>:
> Hi,
> I'm trying to solve problem with proper content-type setting.
> I use mime-type mapping for .ppt file extension using <APACHE
> INSTALL>/conf/mime.types this way:
> application/vnd.ms-powerpoint   pps
>
> It works fine until query occurs as a part of url simillary to
> http://mysite.com/file.pps?direct=1. Content type is set to
> application/octet-stream in this case.
>
> I've searched for solution through the internet but I found nothing. Does
> anybody know the right trick?

Are you actually serving a file named file.pps, or do you have
something like rewrite doing something else (rewrite to foo.php) when
it sees that URL?

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message