httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Dessent <>
Subject Re: [users@httpd] Apache doesn't display pictures
Date Sun, 14 Sep 2003 10:35:19 GMT
Haris Kazic wrote:
> ok i checked it again.
> it says cannot open /usr/local/etc/apache/mime.types directory..
> ----- Original Message -----
> From: "Haris Kazic" <>
> To: <>
> Sent: Sunday, September 14, 2003 12:13 PM
> Subject: Re: [users@httpd] Apache doesn't display pictures
> > Ok there is a log file, but no error in it.
> > About accesing the p[ictures directly:
> >
> > example:
> >
> >

Okay, two things.

1. mime.types is a file that should have been installed when you did the
"make install" command.  You might have a "mime.types-dist" (or similar)
file instead, which is the name of the default file.  This is done so
that if you have any customizations they are not lost when you
reinstall.  In any case, if you don't have a mime.types file you should
copy mime.types-dist to mime.types.

2. If you are doing any kind of name-based virtual hosting then
referring to a URL with an IP address (instead of a hostname) will not
work.  The browser has to ask for the resource by name in order for
apache to know which virtual host it's referring to.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message