<div dir="ltr">Hi Lasse,<div><br></div><div> I was able to work out how to do this. All I had to do was download the varnish 4.0.3 source code, do autogen.sh, configure and make. But not a make install. </div><div><br></div><div>Then I went to the vmod basic auth directory I had downloaded and expanded earlier. Went through autogen.sh, configure, make && make install there. While pointing to my vmods directory in the configure script.</div><div><br></div><div>Works perfectly! And that is apparently the way to do it. However it would be a lot easier if I could have done this through a yum install. Apparently this is not possible currently.<br><br>This vmod was appealing because with this there is no need to enter in the user name and password of the auth user using a base64 hash. You simply point it to a file you create with htpasswd somewhere on your file system. It's a little better that way I think.</div><div><br></div><div>Thanks</div><div>Tim</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 29, 2015 at 7:42 AM, Lasse Karstensen <span dir="ltr"><<a href="mailto:lkarsten@varnish-software.com" target="_blank">lkarsten@varnish-software.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Jul 28, 2015 at 01:49:30PM -0400, Tim Dunphy wrote:<br>
> I've just upgraded my varnish setup from version 3 to version 4. I've successfully ported almost my entire default.vcl file to the new syntax.<br>
</span>[cut]<br>
<span class="">> But I need to use Apache basic auth. The new version requires you to install a module for this.<br>
<br>
</span>I'm not familiar with any change in this regard between 3.0 and 4.0. Basic auth is just a static header.<br>
Set bereq.http.Authorization and you should be good to go?<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Lasse Karstensen<br>
Varnish Software AS<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">GPG me!!<br><br>gpg --keyserver <a href="http://pool.sks-keyservers.net" target="_blank">pool.sks-keyservers.net</a> --recv-keys F186197B<br><br></div>
</div>