Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Webapp - Apache Basic-Auth

    Kopano WebApp
    3
    6
    1148
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Stril
      Stril last edited by

      Hi!

      I am using ZCP for years and I am trying to migrate to Kopano, but there is one problem, I could not solve.

      I am using short-time passwords to access Webaccess from external devices. In the past, I was just using a .htaccess-file in a second webapp instance:

      .htaccess:

      #SSLRequireSSL
      AuthUserFile /var/www/webapphttps/.htpasswd
      AuthGroupFile /dev/null
      AuthName "Safety First"
      AuthType Basic
      <Limit GET>
      require valid-user
      </Limit>
      

      …and in server.cfg:

      local_admin_users       = root vmail www-data kopano
      

      With webaccess 2, that was possible, but now, there is just and endless “loop” with the Kopano logo instead of a login.

      Can you give me a hint on what I could try?

      Thank you
      Regards,
      Stril

      fbartels 1 Reply Last reply Reply Quote 0
      • fbartels
        fbartels Kopano @Stril last edited by

        Hello @Stril ,

        one word of advice: giving your webserver admin permissions in Kopano is not really “safety first”.

        I’d rather recommend to create a client ssl certificate and specifically authenticate webapp with this one.

        That said I don’t think i don’t think the loop is because of the auth. you should check your browsers error console for some additional hints. maybe @marty has some more ideas here then.

        Regards Felix

        Resources:
        https://kopano.com/blog/how-to-get-kopano/
        https://documentation.kopano.io/
        https://kb.kopano.io/

        Support overview:
        https://kopano.com/support/

        1 Reply Last reply Reply Quote 0
        • Stril
          Stril last edited by

          Hello!

          Thank you for your answer.

          I started the browser console. I can only see one message after some seconds:

          VM42 kopano.js?version=3.4.0.764-0+517.1:158 POST http://IP-ADDR/webapphttps/kopano.php?subsystem=webapp_1500930205177 401 (Unauthorized)

          Do you have any idea, why there is “Unauthorized” after the successful auth? Apache Log shows the right username…

          Regards,
          Stril

          1 Reply Last reply Reply Quote 0
          • steffenGE
            steffenGE last edited by

            Hello Stril,

            i have the same requirement. Could you find a solution for the loop. I have the loop too.

            I want to make the Auth by reverse Proxy. The Auth works fine. The reverse Proxy gives the user und Password via post to the webapp. But the webapp could not work with the Basic Auth. so i have the loop too.

            please help me.

            thx

            1 Reply Last reply Reply Quote 0
            • fbartels
              fbartels Kopano last edited by

              The final solution to the problem was posted in https://forum.kopano.io/topic/485/webapp-certificate-auth-fails/29

              Regards Felix

              Resources:
              https://kopano.com/blog/how-to-get-kopano/
              https://documentation.kopano.io/
              https://kb.kopano.io/

              Support overview:
              https://kopano.com/support/

              1 Reply Last reply Reply Quote 0
              • steffenGE
                steffenGE last edited by

                Thats it. Thanks a lot!

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post