apache 跨域 Web开发, PC软件 · 2020-08-24 apache\conf\httpd.conf 开启header组件(去掉#):LoadModule headers_module modules/mod_headers.so 加入 Header set Access-Control-Allow-Origin: "*" Header set Access-Control-Allow-Methods: "GET,POST,PUT,DELETE,OPTIONS" Header set Access-Control-Allow-Headers: "Content-Type" 上一篇:apache httpd appserv 显示500具体错误内容 下一篇:Github Desktop 代理