<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">(I failed to include the mailing list
in the reponse - bringing it back to the list)<br>
<span style="color:#1F497D"><o:p> </o:p></span></div>
<blockquote
cite="mid:2081B265BC5D9D418FBDCB6E6E4FEF644362A29F@Mail1.academy.cc"
type="cite">
<div class="WordSection1">
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:windowtext">From:</span></b><span
style="color:windowtext"> Mads Kiilerich
[<a class="moz-txt-link-freetext" href="mailto:mads@kiilerich.com">mailto:mads@kiilerich.com</a>]
<br>
<b>Sent:</b> Friday, January 23, 2015 1:33 PM<br>
<b>To:</b> John Tran<br>
<b>Subject:</b> Re: authentication by container or
reverse-proxy<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 01/23/2015 08:34 PM, John Tran wrote:<span
style="font-size:12.0pt"><o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">I need to be able to authenticate to
Kallithea by sending it a url such as
<a moz-do-not-send="true"
href="http://user:passw@my.server.com">http://user:passw@my.server.com</a>
, which I believe fits the description of container based or
by reverse proxy.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Note that I’m using Kallithea on
Windows. I’ve followed the directions outlined here
<a moz-do-not-send="true"
href="https://pythonhosted.org/Kallithea/setup.html">https://pythonhosted.org/Kallithea/setup.html</a>
for proxy-pass reverse using Apache (installed on
windows). Even though I enable the proxy pass and location
block so that it uses an .htaccess file, I get two layers of
authentication instead of just one. I get the apache
authentication which I can bypass using
<a moz-do-not-send="true"
href="http://user:passw@my.server.com">http://user:passw@my.server.com</a>,
yet Kallithea still asks for its own username and password
in the Kallithea gui screen.<o:p></o:p></p>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif"><br>
Can you describe / show which changes you have done in the
authentication dialog to enable container auth?<br>
<br>
Can you somehow verify that Kallithea see REMOTE_USER being
set correctly in the wsgi environment?<br>
<br>
(perhaps by enabling debugging and and/or causing a crash
where it will log the full environment)<br>
<br>
/Mads<o:p></o:p></span></p>
</div>
</blockquote>
<br>
On 01/23/2015 10:35 PM, John Tran wrote:<br>
><br>
> Mads, I probably should’ve been more clear I’m not sure I
really did use “container auth” as I’m not fully familiar with the
term. I only tried the reverse-proxy method with Apache as the
front end.<br>
<br>
Yeah, you have to enable the authentication plugin at the
/_admin/auth url. Please help improving the documentation if it
fails to explain it sufficiently clear.<br>
<br>
/Mads<br>
<br>
</body>
</html>