I have a .mobileconfig file , and want to serve it to the iphone via php. I have this in my php file :
header('Content-type: application/x-apple-aspen-config; charset=utf-8');
header('Content-Disposition: attachment; filename="test.mobileconfig"');
my config file is named test.mobileconfig.
I keep getting this error on the iphone:
cannot install profile
safari could not install a profile due to an unknown error