I have read Ray Wenderlich’s awesome tutorials on apple push-notifications from here and here
Now, in the second tutorial, he is updating the httpd.conf file in MAMP server. I have implemented that whole tutorial and I am able to run the apns at localhost. My requirement is that I want to move the PHP scripts to live server, but the problem I am facing that the domain providers (HostGator) are saying that they will not let us update the httpd.conf file on shared server, instead we have to purchase VPS level 3 or the dedicated server for this. So, we are stuck here.
If there is any work around or some other available options for this, please let me know.
Thanks in advance.
Regards,
Saad
There is absolutely no need to edit the
httpd.conffile. Ray did that for convenience (so that he could keep separate the push notification server and the normal Web server).If you scroll down part 2, you will notice the following line of code:
Just point it to the script you use to handle notifications and it should work.