Hello ModPageSpeed Team! I use module pagespeed for **Apache/2.4.6(Centos 7)**. I can not add header to enable CORS, i have read the example and done but it does not seem to work.
`ModPagespeedAddResourceHeader "Access-Control-Allow-Origin" "http://www.example.com"` The way I do this is in the `/etc/http.d/pagespeed.conf` file: `ModPagespeedAddResourceHeader "Access-Control-Allow-Origin" "*"` `ModPagespeedAddResourceHeader "Access-Control-Allow-Credentials" "true"` `ModPagespeedAddResourceHeader "Access-Control-Max-Age" "28800"` `ModPagespeedAddResourceHeader "Access-Control-Allow-Methods" "POST, GET, OPTIONS, PUT, DELETE"` `ModPagespeedAddResourceHeader "Access-Control-Allow-Headers" "Content-Type, X-Auth-Token, Origin, Authorization"` Then I restarted Apache with the command `service httpd restart`. I checked the Request Response but still do not see the Header added above. Please help me. Thanks for reading. [ Full content available at: https://github.com/apache/incubator-pagespeed-mod/issues/1794 ] This message was relayed via gitbox.apache.org for [email protected]
