Re: Mime Type when url contains query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/11/3 jan@xxxxxxxxx <jan@xxxxxxxxx>:
> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux