Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8987663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:51:04+00:00 2026-06-15T21:51:04+00:00

This SO answer applies to me, but I don’t know how to change the

  • 0

This SO answer applies to me, but I don’t know how to “change the content type to application/vnd.apple.pkpass”

Currently a direct link to my pkpass triggers a download and I don’t know where to set the content type.

I have asked my hosting provider to verify that “application/vnd.apple.pkpass” is a supported MIME type

I have tried

What can I do to make the file recognized as the “application/vnd.apple.pkpass” when the link is clicked from iOS 6 or Mac OS 10.8?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T21:51:05+00:00Added an answer on June 15, 2026 at 9:51 pm

    You need to change the web server’s configuration to do this. How you do this depends on which web server you’re using. If you have a hosting company that manages your site’s server for you, you likely need to ask them to do this or tell you where you can.

    Many hosting companies use Apache for the web server. If so, you can create a .htaccess file in your public HTML directory, and put this in it:

    AddType application/vnd.apple.pkpass .pkpass
    

    This will make any file that ends in “.pkpass” get downloaded with that content type.

    This assumes you’re having the client download a static file. If you’re dynamically generating this file, you don’t need to mess with the server at all, and just need to send a header. This depends on which scripting language you’re using, for example in PHP you’d do:

    header("Content-Type: application/vnd.apple.pkpass");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This answer has helped me largely but hasn't fully resolved my issues. I'm using
This answer says: Vim's undo/redo system is unbeatable. Type something, undo, type something else,
Note: Originally this question was asked for PostgreSQL, however, the answer applies to almost
Good day, I've done some research looking for this answer, but haven't had much
I've searched around, but don't think I really found an answer. I'm trying to
I know what interfaces are, but I don't know enough about java to know
Obviously this applies equally with python, bash, sh, etc substituted for perl! Quentin's answer
I posted this question on MWS forum but, didn't get an answer. So, I'm
I've seen this question posed once or twice before, but never with an answer
This answer had me slightly confused. What is a 'select to a temp table'

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.