質問編集履歴
4
発生している問題・エラーメッセージを修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
Apache(80番ポートでListen)→nginx(8080番ポートでListen)→Mattermost(8065番ポートでListen)を実現しようとしています.
|
4
4
|
|
5
5
|
###発生している問題・エラーメッセージ
|
6
|
-
http://localhost:
|
6
|
+
http://localhost:8065にアクセスすると,http://localhost:8065/loginにリダイレクトされ,mattermostのログイン画面が表示されます.http://localhost:8065も同様です.http://localhost/mattermostにアクセスすると空白のページ,http://localhost/mattermost/loginにアクセスすると,このアドレスへのリクエストに対するサーバーの自動転送設定がループしています。というエラーが表示されました.
|
7
7
|
|
8
8
|
###該当のソースコード
|
9
9
|
/etc/httpd/conf.d/mattermost.conf
|
3
エラーログを修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -78,13 +78,21 @@
|
|
78
78
|
```
|
79
79
|
[Mon Apr 03 18:23:26.280899 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(835): [client XXX.XXX.XX.XXX:56324] AH01628: authorization result: granted (no directives)
|
80
80
|
[Mon Apr 03 18:23:26.292102 2017] [proxy:debug] [pid 19622] mod_proxy.c(1117): [client XXX.XXX.XX.XXX:56324] AH01143: Running scheme http handler (attempt 0)
|
81
|
-
[Mon Apr 03 18:23:26.292131 2017] [proxy_ajp:debug] [pid 19622] mod_proxy_ajp.c(713): [client XXX.XXX.XX.XXX:56324] AH00894: declining URL http://localhost:8080/mattermost/
|
82
|
-
[Mon Apr 03 18:23:26.
|
81
|
+
[Mon Apr 03 18:23:26.292131 2017] [proxy_ajp:debug] [pid 19622] mod_proxy_ajp.c(713): [client XXX.XXX.XX.XXX:56324] AH00894: declining URL http://localhost:8080/mattermost/
|
82
|
+
[Mon Apr 03 18:23:26.292876 2017] [proxy_fcgi:debug] [pid 19622] mod_proxy_fcgi.c(963): [client XXX.XXX.XX.XXX:56324] AH01076: url: http://localhost:8080/mattermost/ proxyname: (null) proxyport: 0
|
83
|
+
[Mon Apr 03 18:23:26.292889 2017] [proxy_fcgi:debug] [pid 19622] mod_proxy_fcgi.c(966): [client XXX.XXX.XX.XXX:56324] AH01077: declining URL http://localhost:8080/mattermost/
|
84
|
+
[Mon Apr 03 18:23:26.294088 2017] [proxy:debug] [pid 19622] proxy_util.c(2203): AH00942: HTTP: has acquired connection for (localhost)
|
83
85
|
[Mon Apr 03 18:23:26.294115 2017] [proxy:debug] [pid 19622] proxy_util.c(2256): [client XXX.XXX.XX.XXX:56324] AH00944: connecting http://localhost:8080/mattermost/ to localhost:8080
|
84
|
-
[Mon Apr 03 18:23:26.298185 2017] [proxy:debug] [pid 19622] proxy_util.c(2422): [client XXX.XXX.XX.XXX:56324] AH00947: connected /mattermost/ to localhost:8080
|
86
|
+
[Mon Apr 03 18:23:26.298185 2017] [proxy:debug] [pid 19622] proxy_util.c(2422): [client XXX.XXX.XX.XXX:56324] AH00947: connected /mattermost/ to localhost:8080
|
87
|
+
[Mon Apr 03 18:23:26.298723 2017] [proxy:debug] [pid 19622] proxy_util.c(2798): AH02824: HTTP: connection established with XXX.XXX.XX.XXX:8080 (localhost)
|
85
88
|
[Mon Apr 03 18:23:26.298766 2017] [proxy:debug] [pid 19622] proxy_util.c(2923): AH00962: HTTP: connection complete to XXX.XXX.XX.XXX:8080 (localhost)
|
86
89
|
[Mon Apr 03 18:23:26.314379 2017] [proxy:debug] [pid 19622] proxy_util.c(2218): AH00943: http: has released connection for (localhost)
|
87
|
-
[Mon Apr 03 18:23:26.693932 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of Require all granted: granted
|
90
|
+
[Mon Apr 03 18:23:26.693932 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of Require all granted: granted
|
91
|
+
[Mon Apr 03 18:23:26.693964 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of <RequireAny>: granted
|
92
|
+
[Mon Apr 03 18:23:26.694016 2017] [core:info] [pid 19622] [client XXX.XXX.XX.XXX:56324] AH00128: File does not exist: /var/www/html/static/main.598ce99103ba6aaf3db4.js
|
93
|
+
[Mon Apr 03 18:23:26.766116 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of Require all granted: granted
|
94
|
+
[Mon Apr 03 18:23:26.766153 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of <RequireAny>: granted
|
95
|
+
[Mon Apr 03 18:23:26.766205 2017] [core:info] [pid 19622] [client XXX.XXX.XX.XXX:56324] AH00128: File does not exist: /var/www/html/static/files/0d367a00a16bde58f7e87c4481516a68.png
|
88
96
|
```
|
89
97
|
|
90
98
|
###補足情報(言語/FW/ツール等のバージョンなど)
|
2
エラーログを修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -76,7 +76,15 @@
|
|
76
76
|
|
77
77
|
http://localhost/mattermostに接続した際のエラーログです.
|
78
78
|
```
|
79
|
-
[Mon Apr 03 18:23:26.280899 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(835): [client XXX.XXX.XX.XXX:56324] AH01628: authorization result: granted (no directives)
|
79
|
+
[Mon Apr 03 18:23:26.280899 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(835): [client XXX.XXX.XX.XXX:56324] AH01628: authorization result: granted (no directives)
|
80
|
+
[Mon Apr 03 18:23:26.292102 2017] [proxy:debug] [pid 19622] mod_proxy.c(1117): [client XXX.XXX.XX.XXX:56324] AH01143: Running scheme http handler (attempt 0)
|
81
|
+
[Mon Apr 03 18:23:26.292131 2017] [proxy_ajp:debug] [pid 19622] mod_proxy_ajp.c(713): [client XXX.XXX.XX.XXX:56324] AH00894: declining URL http://localhost:8080/mattermost/ [Mon Apr 03 18:23:26.292876 2017] [proxy_fcgi:debug] [pid 19622] mod_proxy_fcgi.c(963): [client XXX.XXX.XX.XXX:56324] AH01076: url: http://localhost:8080/mattermost/ proxyname: (null) proxyport: 0
|
82
|
+
[Mon Apr 03 18:23:26.292889 2017] [proxy_fcgi:debug] [pid 19622] mod_proxy_fcgi.c(966): [client XXX.XXX.XX.XXX:56324] AH01077: declining URL http://localhost:8080/mattermost/ [Mon Apr 03 18:23:26.294088 2017] [proxy:debug] [pid 19622] proxy_util.c(2203): AH00942: HTTP: has acquired connection for (localhost)
|
83
|
+
[Mon Apr 03 18:23:26.294115 2017] [proxy:debug] [pid 19622] proxy_util.c(2256): [client XXX.XXX.XX.XXX:56324] AH00944: connecting http://localhost:8080/mattermost/ to localhost:8080
|
84
|
+
[Mon Apr 03 18:23:26.298185 2017] [proxy:debug] [pid 19622] proxy_util.c(2422): [client XXX.XXX.XX.XXX:56324] AH00947: connected /mattermost/ to localhost:8080 [Mon Apr 03 18:23:26.298723 2017] [proxy:debug] [pid 19622] proxy_util.c(2798): AH02824: HTTP: connection established with XXX.XXX.XX.XXX:8080 (localhost)
|
85
|
+
[Mon Apr 03 18:23:26.298766 2017] [proxy:debug] [pid 19622] proxy_util.c(2923): AH00962: HTTP: connection complete to XXX.XXX.XX.XXX:8080 (localhost)
|
86
|
+
[Mon Apr 03 18:23:26.314379 2017] [proxy:debug] [pid 19622] proxy_util.c(2218): AH00943: http: has released connection for (localhost)
|
87
|
+
[Mon Apr 03 18:23:26.693932 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of Require all granted: granted [Mon Apr 03 18:23:26.693964 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of <RequireAny>: granted [Mon Apr 03 18:23:26.694016 2017] [core:info] [pid 19622] [client XXX.XXX.XX.XXX:56324] AH00128: File does not exist: /var/www/html/static/main.598ce99103ba6aaf3db4.js [Mon Apr 03 18:23:26.766116 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of Require all granted: granted [Mon Apr 03 18:23:26.766153 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of <RequireAny>: granted [Mon Apr 03 18:23:26.766205 2017] [core:info] [pid 19622] [client XXX.XXX.XX.XXX:56324] AH00128: File does not exist: /var/www/html/static/files/0d367a00a16bde58f7e87c4481516a68.png
|
80
88
|
```
|
81
89
|
|
82
90
|
###補足情報(言語/FW/ツール等のバージョンなど)
|
1
エラーログの追加等
title
CHANGED
File without changes
|
body
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
Apache(80番ポートでListen)→nginx(8080番ポートでListen)→Mattermost(8065番ポートでListen)を実現しようとしています.
|
4
4
|
|
5
5
|
###発生している問題・エラーメッセージ
|
6
|
-
http://localhost:8080
|
6
|
+
http://localhost:8080またはhttp://localhost:8065に接続すると,mattermostのログイン画面が表示されるので,nginx→Mattermostの接続はできていますが,ブラウザでhttp://localhost/mattermostにアクセスすると何も表示されません.
|
7
7
|
|
8
8
|
###該当のソースコード
|
9
9
|
/etc/httpd/conf.d/mattermost.conf
|
@@ -70,7 +70,14 @@
|
|
70
70
|
または
|
71
71
|
$curl http://localhost:8065
|
72
72
|
と同じ結果が返ってきます.
|
73
|
+
```
|
74
|
+
<!DOCTYPE html> <html> <head> <meta http-equiv=X-UA-Compatible content="IE=edge"> <meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"> <meta name=robots content="noindex, nofollow"> <meta name=referrer content=no-referrer> <title>Mattermost</title> <meta name=apple-mobile-web-app-capable content=yes> <meta name=apple-mobile-web-app-status-bar-style content=default> <meta name=mobile-web-app-capable content=yes> <meta name=apple-mobile-web-app-title content=Mattermost> <meta name=application-name content=Mattermost> <meta name=format-detection content="telephone=no"> <link rel=apple-touch-icon sizes=57x57 href=/static/files/787db8d8b82538cc1d5e8bcb8c21722d.png> <link rel=apple-touch-icon sizes=60x60 href=/static/files/cd9987714f4d92336c3ab203ff150a9a.png> <link rel=apple-touch-icon sizes=72x72 href=/static/files/1728fd5a009aabc77654b1f958c6f596.png> <link rel=apple-touch-icon sizes=76x76 href=/static/files/17cb12b7fc37d8229a6e72f3d6da0949.png> <link rel=apple-touch-icon sizes=144x144 href=/static/files/fba6362db1d8b3e27c9fb02fd0695c85.png> <link rel=apple-touch-icon sizes=120x120 href=/static/files/08959a08dc2488dfeb8660fc4630b145.png> <link rel=apple-touch-icon sizes=152x152 href=/static/files/bca263be9acd1df84b988b02c621b8ca.png> <link rel=icon type=image/png sizes=16x16 href=/static/files/532142b052832f94ffc35860545a7e5c.png> <link rel=icon type=image/png sizes=32x32 href=/static/files/c220e89731c31367c0f4e86e3442bee0.png> <link rel=icon type=image/png sizes=96x96 href=/static/files/173682cef105829829a008f1fc97e980.png> <link rel=icon type=image/png sizes=192x192 href=/static/files/0d367a00a16bde58f7e87c4481516a68.png> <link rel=manifest href=/static/files/fee9721a6305a49662a40ffd052a7965.json> <link rel=stylesheet class=code_theme> <script type="text/javascript" src="/static/main.598ce99103ba6aaf3db4.js"></script></head> <body> <div id=root> <div class=loading-screen style=position:relative> <div class=loading__content> <div class="round round-1"></div> <div class="round round-2"></div> <div class="round round-3"></div> </div> </div> </div> <script>window.setup_root()</script> <noscript> To use Mattermost, please enable JavaScript. </noscript> </body> </html>
|
75
|
+
```
|
73
76
|
|
77
|
+
http://localhost/mattermostに接続した際のエラーログです.
|
78
|
+
```
|
79
|
+
[Mon Apr 03 18:23:26.280899 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(835): [client XXX.XXX.XX.XXX:56324] AH01628: authorization result: granted (no directives) [Mon Apr 03 18:23:26.292102 2017] [proxy:debug] [pid 19622] mod_proxy.c(1117): [client XXX.XXX.XX.XXX:56324] AH01143: Running scheme http handler (attempt 0) [Mon Apr 03 18:23:26.292131 2017] [proxy_ajp:debug] [pid 19622] mod_proxy_ajp.c(713): [client XXX.XXX.XX.XXX:56324] AH00894: declining URL http://localhost:8080/mattermost/ [Mon Apr 03 18:23:26.292876 2017] [proxy_fcgi:debug] [pid 19622] mod_proxy_fcgi.c(963): [client XXX.XXX.XX.XXX:56324] AH01076: url: http://localhost:8080/mattermost/ proxyname: (null) proxyport: 0 [Mon Apr 03 18:23:26.292889 2017] [proxy_fcgi:debug] [pid 19622] mod_proxy_fcgi.c(966): [client XXX.XXX.XX.XXX:56324] AH01077: declining URL http://localhost:8080/mattermost/ [Mon Apr 03 18:23:26.294088 2017] [proxy:debug] [pid 19622] proxy_util.c(2203): AH00942: HTTP: has acquired connection for (localhost) [Mon Apr 03 18:23:26.294115 2017] [proxy:debug] [pid 19622] proxy_util.c(2256): [client XXX.XXX.XX.XXX:56324] AH00944: connecting http://localhost:8080/mattermost/ to localhost:8080 [Mon Apr 03 18:23:26.298185 2017] [proxy:debug] [pid 19622] proxy_util.c(2422): [client XXX.XXX.XX.XXX:56324] AH00947: connected /mattermost/ to localhost:8080 [Mon Apr 03 18:23:26.298723 2017] [proxy:debug] [pid 19622] proxy_util.c(2798): AH02824: HTTP: connection established with XXX.XXX.XX.XXX:8080 (localhost) [Mon Apr 03 18:23:26.298766 2017] [proxy:debug] [pid 19622] proxy_util.c(2923): AH00962: HTTP: connection complete to XXX.XXX.XX.XXX:8080 (localhost) [Mon Apr 03 18:23:26.314379 2017] [proxy:debug] [pid 19622] proxy_util.c(2218): AH00943: http: has released connection for (localhost) [Mon Apr 03 18:23:26.693932 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of Require all granted: granted [Mon Apr 03 18:23:26.693964 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of <RequireAny>: granted [Mon Apr 03 18:23:26.694016 2017] [core:info] [pid 19622] [client XXX.XXX.XX.XXX:56324] AH00128: File does not exist: /var/www/html/static/main.598ce99103ba6aaf3db4.js [Mon Apr 03 18:23:26.766116 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of Require all granted: granted [Mon Apr 03 18:23:26.766153 2017] [authz_core:debug] [pid 19622] mod_authz_core.c(809): [client XXX.XXX.XX.XXX:56324] AH01626: authorization result of <RequireAny>: granted [Mon Apr 03 18:23:26.766205 2017] [core:info] [pid 19622] [client XXX.XXX.XX.XXX:56324] AH00128: File does not exist: /var/www/html/static/files/0d367a00a16bde58f7e87c4481516a68.png
|
80
|
+
```
|
74
81
|
|
75
82
|
###補足情報(言語/FW/ツール等のバージョンなど)
|
76
83
|
|