为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox sends credentials in HTTP header to Apache2 for any subdirectory

  • 1 个回答
  • 1 人有此问题
  • 19 次查看
  • 最后回复者为 cor-el

more options

Hello,

on an Apache 2.2 httpd I have configured a named virtual host like https://example.com:4711

This virtual host contains 2 reverse proxies for the /i/ and /apex/ subdirectories used for Oracle Application Express. In addition to this there is a subdirectory named /docs for some static documents which are independent from Oracle APEX.

Within the Apache virtual host configuration the /docs directory is password-protected using the directives "AuthType Basic" and "AuthName MyDir" inside a <Directory ...> section - this is working fine so far.

However, when being authenticated for the /docs directory, the credentials are also sent when requesting /apex/ or /i/ URLS - thus disturbing the Oracle APEX Authentication (which uses cookies). Doing some monitoring with Wireshark (after switching off SSL temporarily) shows that the credentials for the "MyDir" realm are sent in the HTTP header not only for /docs but just for every directory. After clearing the "Active Logins" the APEX login works fine again.

Tested with FF 60 ESR (as well as with old FF 45.9 ESR).

Is there any means to prevent this behaviour, i.e. that users do not have to clear "Active Logins"? Any help will be greatly appreciated.

Thanks in advance, Markus

Hello, on an Apache 2.2 httpd I have configured a named virtual host like https://example.com:4711 This virtual host contains 2 reverse proxies for the /i/ and /apex/ subdirectories used for Oracle Application Express. In addition to this there is a subdirectory named /docs for some static documents which are independent from Oracle APEX. Within the Apache virtual host configuration the /docs directory is password-protected using the directives "AuthType Basic" and "AuthName MyDir" inside a <Directory ...> section - this is working fine so far. However, when being authenticated for the /docs directory, the credentials are also sent when requesting /apex/ or /i/ URLS - thus disturbing the Oracle APEX Authentication (which uses cookies). Doing some monitoring with Wireshark (after switching off SSL temporarily) shows that the credentials for the "MyDir" realm are sent in the HTTP header not only for /docs but just for every directory. After clearing the "Active Logins" the APEX login works fine again. Tested with FF 60 ESR (as well as with old FF 45.9 ESR). Is there any means to prevent this behaviour, i.e. that users do not have to clear "Active Logins"? Any help will be greatly appreciated. Thanks in advance, Markus

所有回复 (1)

more options

Maybe create a bug report to get some feedback from the Firefox devs.