I am trying to use the HTML 5 Offline Application Cache feature (as described in http://developer.apple.com/iphone/libra ... 51-CH4-SW1) with eventghost web server. The intended use is to store a web app that send events to eventghost locally in my phone to save load times.
So far I have not had any success with Eventghost web server. The same web site works with Abyss web server after adding the MIME type "text/cache-manifest" for associated extension "cache". If this is the problem, is it posible to add that MIME type to Eventghost web server?
If this is of any help, in http://building-iphone-apps.labs.oreilly.com/ch06.html it is said that:
Thanks for any help and sorry for my english. Tell me if I can explain the issue more clearly.You must serve the manifest file with the text/cache-mainfest content type or the browser will not recognize it. If you are using the Apache web server or a compatible web server, you can accomplish this by adding an .htaccess file to your web directory with the following line:
AddType text/cache-manifest .manifest
If the .htaccess file doesnÔÇÖt work for you, please refer to the portion of your web server documentation that pertains to MIME types. You must associate the file extension .manifest with the MIME type of text/cache-manifest. If your web site is hosted by a web hosting provider, your provider may have a control panel for your web site where you can add the appropriate MIME type. IÔÇÖll also show you an example that uses a PHP script in place of the .htaccess file a little later on in this chapter.