Ad Widget

Collapse

HTTP Authentication fails with 2.0.2 ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hrouxel
    Junior Member
    • Jul 2012
    • 8

    #1

    HTTP Authentication fails with 2.0.2 ?

    Hello,

    We have just upgraded zabbix from 2.0.1 to 2.0.2.
    But as soon as we switch to php Front End 2.0.2, web access fails (see image)
    We use HTTP Authentication to zabbix Front End since 2.0.0 with no problem.

    Has someone met same pb ?
    Sincerely,
    --
    hrouxel
    Attached Files
  • Nugget
    Junior Member
    • Dec 2011
    • 3

    #2
    I'm seeing the same behavior here, too. Apache logs show that the http authentication is working (username appears in log) but the front end displays the message above.

    Was working fine for me in 2.0.0 with same config.

    Here's how to fix it:

    Edit index.php and find this (should be line 56):
    Code:
    if (!empty($_SERVER['PHP_AUTH_USER']) && !empty($_SERVER['PHP_AUTH_PW'])) {
    change it back to:
    Code:
    if (!empty($_SERVER['PHP_AUTH_USER'])) {
    Last edited by Nugget; 29-08-2012, 20:28.

    Comment

    • Nugget
      Junior Member
      • Dec 2011
      • 3

      #3
      I filed https://support.zabbix.com/browse/ZBX-5513 to track issue.

      Comment

      • hrouxel
        Junior Member
        • Jul 2012
        • 8

        #4
        Nugget,

        Thanks, now it works fine !

        Comment

        Working...