* [gentoo-user] Apache 2.2.6 missing /etc/apache2/mime.types
@ 2007-10-08 2:55 Randy Barlow
2007-10-08 3:19 ` Randy Barlow
0 siblings, 1 reply; 4+ messages in thread
From: Randy Barlow @ 2007-10-08 2:55 UTC (permalink / raw
To: Gentoo Users
Hi! I just upgraded from Apache 2.0.x to 2.2.6 and am working out
kinks. Right now I see
* Caching service dependencies ... [ ok ]
* Starting apache2 ... [ !! ]
There is nothing in /var/log/messages and /var/log/apache2/error_log shows
[Sun Oct 07 22:51:36 2007] [error] (2)No such file or directory: could
not open mime types config file /etc/apache2/mime.types.
I admittedly don't have this file, but I also don't know if a) I am
supposed to have this file and am missing it for some reason, or if b) I
don't need the file but some config file somewhere thinks I do.
I see a package called mime-types, but it seems to install
/etc/mime.types and not /etc/apache2/mime.types... Help?
--
Randy Barlow
http://electronsweatshop.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Apache 2.2.6 missing /etc/apache2/mime.types
2007-10-08 2:55 [gentoo-user] Apache 2.2.6 missing /etc/apache2/mime.types Randy Barlow
@ 2007-10-08 3:19 ` Randy Barlow
2007-10-08 3:44 ` Tim
0 siblings, 1 reply; 4+ messages in thread
From: Randy Barlow @ 2007-10-08 3:19 UTC (permalink / raw
To: gentoo-user
Randy Barlow wrote:
> I see a package called mime-types, but it seems to install
> /etc/mime.types and not /etc/apache2/mime.types... Help?
I found a temporary solution by symlinking /etc/apache2/mime.types to
/etc/mime.types, but that doesn't seem like the correct way to go...
--
Randy Barlow
http://electronsweatshop.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Apache 2.2.6 missing /etc/apache2/mime.types
2007-10-08 3:19 ` Randy Barlow
@ 2007-10-08 3:44 ` Tim
2007-10-08 19:11 ` Randy Barlow
0 siblings, 1 reply; 4+ messages in thread
From: Tim @ 2007-10-08 3:44 UTC (permalink / raw
To: gentoo-user
Randy Barlow wrote:
> Randy Barlow wrote:
>> I see a package called mime-types, but it seems to install
>> /etc/mime.types and not /etc/apache2/mime.types... Help?
>
> I found a temporary solution by symlinking /etc/apache2/mime.types to
> /etc/mime.types, but that doesn't seem like the correct way to go...
>
Change the TypesConfig directive in Apache2 to the location of your
mime.types file (in this case, /etc/mime.types). For example, my machine
does this:
mybox ~ # grep TypesConfig /etc/apache2/httpd.conf
# TypesConfig describes where the mime.types file (or equivalent) is
TypesConfig /etc/mime.types
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Apache 2.2.6 missing /etc/apache2/mime.types
2007-10-08 3:44 ` Tim
@ 2007-10-08 19:11 ` Randy Barlow
0 siblings, 0 replies; 4+ messages in thread
From: Randy Barlow @ 2007-10-08 19:11 UTC (permalink / raw
To: gentoo-user
Tim wrote:
> Change the TypesConfig directive in Apache2 to the location of your
> mime.types file (in this case, /etc/mime.types).
So I ended up just clobbering my configs and starting over with the
default ones because lots of things were being "weird". Now I just have
to figure out how to do a few things the new way (I think I had been
keeping the same LONG httpd.conf for a long time and this time it didn't
work anymore...).
--
Randy Barlow
http://electronsweatshop.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-10-08 19:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-08 2:55 [gentoo-user] Apache 2.2.6 missing /etc/apache2/mime.types Randy Barlow
2007-10-08 3:19 ` Randy Barlow
2007-10-08 3:44 ` Tim
2007-10-08 19:11 ` Randy Barlow
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox