<div dir="ltr"><div><div><div><div>I'm not sure I understand. Anonymous users can definitely still see the site from Apache in 0.9.*. I'm looking at my Buildbot server right now as an anonymous user. It seems to hide a lot of details for anonymous users, but it's still rendering the basic site, listing builders and recent builds. By "show no output" I mean it should only render a login page and nothing else if the user is not authenticated.<br><br></div>I tried the util.RemoteUserAuth but it doesn't seem to do anything. Buildbot still requires I login via the on-screen user login dropdown, and ignores the basic Http login I give to Apache.<br><br></div>Oddly, it also seems to ignore util.HTPasswdAuth(). If I enter a username/password that I added to my htpasswd file into Buildbot's login form, Buildbot still won't let me login through its web interface. Is there some trick to getting an htpasswd file to work with Buildbot? There are no errors reported in the twistd.log.<br><br></div>This is my Apache config:<br><br>    <VirtualHost *:80><br><br>        ProxyPass / <a href="http://127.0.0.1:8010/">http://127.0.0.1:8010/</a><br>        <br>        <Location /><br>            AuthType Basic<br>            AuthName "Buildbot"<br>            AuthUserFile /usr/local/myproject/src/buildbot/htpasswd<br>            Require valid-user<br>        </Location><br><br>    </VirtualHost><br></div><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 15, 2017 at 3:50 AM, Pierre Tardy <span dir="ltr"><<a href="mailto:tardyp@gmail.com" target="_blank">tardyp@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Chris,<div>What you are looking for is theRemoteUserAuth plugin</div><div><a href="http://buildbot.readthedocs.io/en/latest/manual/cfg-www.html#buildbot.www.auth.RemoteUserAuth" target="_blank">http://buildbot.readthedocs.<wbr>io/en/latest/manual/cfg-www.<wbr>html#buildbot.www.auth.<wbr>RemoteUserAuth</a></div><div><br></div><div>There is no more support for combination <span style="color:rgb(33,33,33)">useHttpHeader + </span><span style="color:rgb(33,33,33)">HTPasswdAprAuth, which allowed apache authentication + anonymous access.</span></div><div><span style="color:rgb(33,33,33)">I am not sure exactly if this is what you mean by "</span><span style="color:rgb(33,33,33)">show no output to an anonymous user"</span></div><div><br></div><div>Pierre</div></div><br><div class="gmail_quote"><div><div class="h5"><div dir="ltr">Le mer. 15 févr. 2017 à 07:21, Chris Spencer <<a href="mailto:chrisspen@gmail.com" target="_blank">chrisspen@gmail.com</a>> a écrit :<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr" class="m_6569449388219033462gmail_msg"><div class="m_6569449388219033462gmail_msg"><div class="m_6569449388219033462gmail_msg">In 0.8.*, I was using http authentication in Apache to collect the username/password and pass that through to Buildbot. I was doing that with:<br class="m_6569449388219033462gmail_msg"><br class="m_6569449388219033462gmail_msg">    authz_cfg=authz.Authz(<br class="m_6569449388219033462gmail_msg">        auth=auth.HTPasswdAprAuth('.<wbr>htpasswd')),<br class="m_6569449388219033462gmail_msg">        useHttpHeader=True,<br class="m_6569449388219033462gmail_msg">        ...<br class="m_6569449388219033462gmail_msg">    )<br class="m_6569449388219033462gmail_msg"><br class="m_6569449388219033462gmail_msg"></div>However, in 0.9.*, there doesn't appear to be a HTPasswdAprAuth class or a useHttpHeader option. Is there still a way to setup this type of authentication?<br class="m_6569449388219033462gmail_msg"><br class="m_6569449388219033462gmail_msg"></div>My goal is to show no output to an anonymous user.<br class="m_6569449388219033462gmail_msg"><br class="m_6569449388219033462gmail_msg"></div></div></div>
______________________________<wbr>_________________<br class="m_6569449388219033462gmail_msg">
users mailing list<br class="m_6569449388219033462gmail_msg">
<a href="mailto:users@buildbot.net" class="m_6569449388219033462gmail_msg" target="_blank">users@buildbot.net</a><br class="m_6569449388219033462gmail_msg">
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" class="m_6569449388219033462gmail_msg" target="_blank">https://lists.buildbot.net/<wbr>mailman/listinfo/users</a></blockquote></div>
</blockquote></div><br></div>