Running yeoman server does not seem to recognize the .htaccess file by default. Is there an additional step to enable reading of the .htaccess file?
Here are the lines I have uncommented with no apparent affect in setting headers after restarting:
# ---------------------------------------------------------------------- # Cross-domain AJAX requests # ---------------------------------------------------------------------- # Serve cross-domain Ajax requests, disabled by default. # enable-cors.org # code.google.com/p/html5security/wiki/CrossOriginRequestSecurity <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule>
Or maybe the proper question is how would one set headers when running yeoman server? Is there another option, perhaps in Gruntfile.js?