跨域请求自定义headers头信息

DocumentRoot “D:\phpStudy\PHPTutorial\WWW\emscrm_local\public”

Options +Indexes +FollowSymLinks +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
Header set Access-Control-Allow-Origin “*”
Header set Access-Control-Allow-Headers “memberid,Authorization,DNT,User-Agent,Keep-Alive,Content-Type,accept,origin,X-Requested-With”
Header set Access-Control-Allow-Methods “GET, POST, OPTIONS”

你可能感兴趣的:(APACHE)