This question need a lot background on apple's air play profile configure.
Firstly, I set up the web server in the iOS app with cocoahttpserver, and want to provide the access to .mobileconfig, but this need set up the MIME type as application/x-apple-aspen-config. For PHP setup, here is the answer
But I am setting up the web server in the iOS app with cocoahttpserver, and I am not familiar with such configuration. So question here to seek professional suggest for this.