httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Spike" <sau...@mlc-wels.edu>
Subject Re: [users@httpd] Newbie Question: Does mod_dir require mod_mime?
Date Mon, 16 Jun 2003 21:30:20 GMT
> You don't mention EXACTLY what happened when you tried using
> DirectoryIndex without mod_mime. 
I get
"Not Found
The requested URL / was not found on this server.
----------------------------------------------------------------------
Apache/1.3.27 Server at 172.16.1.128 Port 80"
for both http://172.16.1.128 and http://172.16.1.128/

> But you should notice that if you remove
> mod_mime, then the only way apache has to determine the mime type is
> DefaultType.  So your index.html file will not be designated as text/html
> like it is supposed to be.
What if I change DefaultType from text/plain to text/html? It still 
doesn't work. Same results. Are there any other negative effects of 
this configuration change?
 
> In general, mod_mime (or a similar module) will almost always be required
> to do anything useful with apache.
I figured as much, but what if I only serve html. That is only one 
mime type, right? Do I hit problems with my first <img> tag?

Aaron Spike

---------------------------------------------------------------------
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