26 março 2013

OHS and APK files

In case you are trying to provide users a download link to an APK file hosted in your server, remember to add the MIME Type to your OHS (Oracle HTTP Server) configuration. The steps to add a MIME Type are well documented, and all you need to do is to specify the correcty definition:
(step-by-step on OHS 11g)
 Using Fusion Middleware Control to Configure MIME Types
To configure a MIME type using Fusion Middleware Control, do the following:
  1. Select Administration from the Oracle HTTP Server menu.
  2. Select MIME Configuration from the Administration menu. The MIME configuration page appears.
  3. Click Add Row in MIME Configuration region. A new, blank row is added to the list.
  4. Enter the MIME type. ---> application/vnd.android.package-archive
  5. Enter the file extension.
  6. Review the settings. If the settings are correct, click Apply to apply the changes. If the settings are incorrect, or you decide to not apply the changes, click Revert to return to the original settings.
  7. Restart Oracle HTTP Server, as described in Section 4.1.4.
That's all!
Originally posted on my Oracle Blog
Postar um comentário


LinkedIn: www.linkedin.com/in/brunocborges
Twitter: www.twitter.com/brunoborges
Comprei e Não Vou
Rio de Janeiro, RJ Brasil
São Paulo, SP Brasil