On 24.01.10 19:27, Jonathan Hayward wrote: > I am getting an error in my log if I visit > http://jonathanscorner.com/admin/but not > http://jonathanscorner.com/admin/index.html under Apache 1.3.x. The two > URL's serve up the same file; on a visit to > http://jonathanscorner.com/admin/ , DirectoryIndex pulls up the same > index.html (that directory has no index.cgi/index.php/etc.). The message > logged is: > > [warn] Cannot get media type from 'text.html' you apparently have misconfigured something, apache thinks the type is text.html instead of text/html. check configs and .htaccess files. > Is there any way in httpd.conf or .htaccess that I can get > DirectoryIndex-served files to be assigned Content-Type "text/html" and not > "text.html"? The directory index is mapped to a file and the file is processed as it type defines. fot .html it should be text/html. -- Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. 10 GOTO 10 : REM (C) Bill Gates 1998, All Rights Reserved! --------------------------------------------------------------------- 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