Re: mime.types

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

 



Thank you.  You solved my problem and taught me something at the same time.

Larry

On Wed, Jul 8, 2015 at 4:22 PM, Richard <lists-apache@xxxxxxxxxxxxxxxxxxxxx> wrote:



> Date: Wednesday, July 08, 2015 04:13:04 PM -0400
> From: "Cohen, Laurence" <lcohen@xxxxxxxxxxx>
>
> I am using the CentOS6 RPM for my Apache Web Server.  When
> starting up, Apache complains that it could not open the
> mime.types file.  It's looking for it in /etc and sure enough it
> isn't there.
>
> Could someone please tell me what I can do to install a mime.types
> file? I've tried looking for another rpm that would contain it,
> but I haven't found one.  We have to do a minimal install when
> setting up our servers to minimize security issues.  Could it be
> that by doing this, the rpm that contains the mime.types file
> didn't get installed?
>
> Thanks,
>
> Larry

You can use the yum "whatprovides" facility to find the rpm that has
what you are after. In this case, /etc/mime.types seems to be
provided by "mailcap-2.1.31-2.el6.noarch", which looks to be in the
base repo.




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--

www.novetta.com

Larry Cohen

System Administrator


12021 Sunset Hills Road, Suite 400

Reston, VA 20190

Email  lcohen@novetta.com

Office  703-885-1064


[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