• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mime type configuration apache server

 
lokesh devineni
Greenhorn
Posts: 5
Oracle Redhat Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

This topic is mime type configuration in apache web server.Can any one know these question please reply back,

a) If we can set mime type for certain type of (like PDF) files when they are rendered from apache server?
b) Can we set the mime type for files from specific folder?
c) What is overhead of doing this?
d) Will this impact all the apps which use that apache server? or can we set it for specific app ?

Best Regards,
Lokesh.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17646
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MIME types are configured for apache in various ways, but if I'm not mistaken, for my particular server, the master configuration is a file named /etc/mime.types that is not only used by Apache, but by any other application in the OS that wants to apply MIME types.

You can customize the normal MIME type assignment at a per-folder level using .htaccess. There's also a mod_mime plugin that may help.

You should be able to find details in the apache documentation without too much trouble.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic