不确定究竟是什么问题 - 我在apache上有一个web应用程序,Marionette骨干模型连接到不同端口的服务器端。我尝试下面允许访问但是看不到工作:
这是在httpd.conf
的目录标记下 <IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
Header module is loaded as ./apachectl -M results below
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
authn_file_module (shared)
authn_core_module (shared)
authz_host_module (shared)
authz_groupfile_module (shared)
authz_user_module (shared)
authz_core_module (shared)
access_compat_module (shared)
auth_basic_module (shared)
reqtimeout_module (shared)
filter_module (shared)
mime_module (shared)
log_config_module (shared)
env_module (shared)
headers_module (shared)
setenvif_module (shared)
version_module (shared)
unixd_module (shared)
status_module (shared)
autoindex_module (shared)
dir_module (shared)
alias_module (shared)