質問編集履歴
1
ログの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -161,4 +161,13 @@
|
|
161
161
|
リクエストURLのリダイレクト処理より前にあるアクセスログの時点でおかしいので、FLASKの設定にどこか問題はある。
|
162
162
|
|
163
163
|
### 補足
|
164
|
-
|
164
|
+
(https:/example.com/aaa/n10440102/71921040_p2.jpg でアクセスしたときのログ)
|
165
|
+
2024-12-26 15:10:03,866 - INFO - Request URL: https:/example.com/aaa/n10440102/71921040_p2.jpg/
|
166
|
+
2024-12-26 15:10:03,867 - INFO - Request Path: /aaa/n10440102/71921040_p2.jpg/
|
167
|
+
2024-12-26 15:10:03,867 - ERROR - Not found: /フォルダ/aaa/n10440102/71921040_p2.jpg/
|
168
|
+
2024-12-26 15:10:03,868 - INFO - 127.0.0.1 - - [26/Dec/2024 15:10:03] "GET /aaa/n10440102/71921040_p2.jpg/ HTTP/1.1" 404 -
|
169
|
+
(https:/example.com//aaa/n10440102/71921040_p2.jpg でアクセスしたときのログ)
|
170
|
+
2024-12-26 15:10:06,514 - INFO - Request URL: https:/example.com//aaa/n10440102/71921040_p2.jpg
|
171
|
+
2024-12-26 15:10:06,514 - INFO - Request Path: /aaa/n10440102/71921040_p2.jpg
|
172
|
+
2024-12-26 15:10:06,515 - INFO - Serving file from: /フォルダ/aaa/n10440102/71921040_p2.jpg
|
173
|
+
2024-12-26 15:10:06,524 - INFO - 127.0.0.1 - - [26/Dec/2024 15:10:06] "GET /aaa/n10440102/71921040_p2.jpg HTTP/1.1" 304 -
|