質問編集履歴

1

httpdの修正

2016/12/24 10:16

投稿

kkkmokotan
kkkmokotan

スコア45

test CHANGED
File without changes
test CHANGED
@@ -17,3 +17,27 @@
17
17
  iptables等の設定もしてあります。(というかブラウザからelastic searchにアクセスできているのでこれが原因ではなさそうです)
18
18
 
19
19
  同じような状況の経験がある方、アドバイスをお願いいたします。
20
+
21
+
22
+
23
+
24
+
25
+ なお
26
+
27
+ XMLHttpRequest cannot load http://xxx.xxx.xxx.xxx/_nodes. No 'Access-Control-Allow-Origin' header is present on the requested resource.
28
+
29
+
30
+
31
+ というエラーがクロームに出ていたのでhttpd.confを書き換え
32
+
33
+
34
+
35
+ <IfModule mod_headers.c>
36
+
37
+ Header set Access-Control-Allow-Origin: *
38
+
39
+ </IfModule>
40
+
41
+
42
+
43
+ を追加しましたが変化がありませんでした....