This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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 ?
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.
An IDE is no substitute for an Intelligent Developer.