Where do I create the file .htaccess, in order to serve my HTML5 cache manifest file correctly?
Posted
by
Forrest
on Pro Webmasters
See other posts from Pro Webmasters
or by Forrest
Published on 2011-06-13T10:11:26Z
Indexed on
2012/09/03
3:49 UTC
Read the original article
Hit count: 348
From a post on http://diveintohtml5.org/offline.html (Wayback Machine Copy)
Your cache manifest file can be located anywhere on your web server, but it must be served with the content type text/cache-manifest. If you are running an Apache-based web server, you can probably just put an AddType directive in the .htaccess file at the root of your web directory:
AddType text/cache-manifest .manifest
Where do I create the file .htaccess?
Need some more setup with apachectl ?
Thanks very much !
© Pro Webmasters or respective owner