Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
JBoss 4.2.2.GA (ポートで提供7001) と Apache http サーバーをフロントエンドとして使用 (ポートで提供9999)
7001
9999
にアクセスxxx.xxx.com:9999しrequest.getRequestUrl()ても、ポート番号が返されません。
xxx.xxx.com:9999
request.getRequestUrl()
これはどのように起こりますか?
Apache http サーバーが JBoss appserver にリクエストを送信する方法を確認してください。ポートをスキップして直接呼び出すことで、呼び出しをマスクしていると推測していますxxx.xxx.com/xz/。
xxx.xxx.com/xz/
元の URL は HTTP ヘッダーに次のように記録される可能性があるため、引き続き取得できます。Referer
Referer
Apache http サーバーのトラフィックを監視して、明確に理解してください。
http://httpd.apache.org/docs/1.3/logs.html#accesslog