Distributing iPhone Configuration Profiles: Safari Error

Hello,

I created a configuration profile using iPhone Configuration Utility that I emailed and successfully installed on an iPhone 3G 2.0.

I copied (via scp) the same file to server running Mac OS X 10.5.2. When I first downloaded the profile (named CP-V.mobileconfig) using Safari, the iPhone displayed the raw XML of the profile. Re-reading the Enterprise Deployment Guide, I added the proper MIME type: "AddType application/x=apple-aspen-config mobileconfig" and reloaded Apache.

Now, the iPhone displays "Safari can't download this file".

Apache logs no error and logs the access:

... "GET /iphone/CP-V.mobileconfig HTTP/1.1" 200 4005

Any suggestions for how to debug this?

-- Tom Kishel

iPhone 3G 2.0, Mac OS X (10.5.2)

Posted on Aug 6, 2008 1:37 PM

Reply
Question marked as Top-ranking reply

Posted on Sep 9, 2008 10:56 AM

Tom Kishel wrote:
Re-reading the Enterprise Deployment Guide, I added the proper MIME type: "AddType application/x=apple-aspen-config mobileconfig" and reloaded Apache.


I just noted the equals sign (instead of the correct hyphen) in your text. Was that a copy and paste from your configuration? If so, that is the issue.

Message was edited by: LenH
5 replies
Question marked as Top-ranking reply

Sep 9, 2008 10:56 AM in response to TKishelD

Tom Kishel wrote:
Re-reading the Enterprise Deployment Guide, I added the proper MIME type: "AddType application/x=apple-aspen-config mobileconfig" and reloaded Apache.


I just noted the equals sign (instead of the correct hyphen) in your text. Was that a copy and paste from your configuration? If so, that is the issue.

Message was edited by: LenH

Sep 8, 2008 10:31 AM in response to TKishelD

I had the same problem and after a lot of head scratching I finally figured out that I had my MIME type set incorrectly.

Mine was set to "application/x-appleaspen-config" rather than "application/x-apple-aspen-config".

Once I made that change the profile worked like a charm.

To check mime types you can use the www.web-sniffer.net service. Select "Request type: HEAD" to see the http response header only.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Distributing iPhone Configuration Profiles: Safari Error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.