[NTLUG:Discuss] No login challenge

David Stanaway david at stanaway.net
Thu Jan 1 02:20:08 CST 2004


I had some problems with apache basic auth recently which were very
fustrating. Basically, the auth was always failing reporting in the
apache error log (A place you should check first for any kind of
problem) that the user could not be found.

It turned out that I had an auth module loaded that was buggy (auth_sys)
and it seemed to have been overiding the AuthUserFile directive.
(apaches server-info showed that that module did not have any directives
to enable it).

Make sure you just have the apache auth modules loaded that you need.
Maybe enable the server-info handler to see what modules are loaded
etc..


On Thu, 2004-01-01 at 02:10, Ted wrote:
> Don't think so.  I'm not aware of any changes to Apache to front-end it 
> with Squid.  In any case, I can access either the proxy server or the web 
> site directly.  All of these tests are direct to the web site.  I'm going 
> to go back through the literature to see how you control the response 
> issued.  Thanks, Ted
> 
> At 04:19 PM 12/31/2003 -0600, you wrote:
> >Could it be a proxy server that is causing your problems?
> >
> >-----Original Message-----
> >From: discuss-bounces at ntlug.org [mailto:discuss-bounces at ntlug.org]On
> >Behalf Of Ted
> >Sent: Wednesday, December 31, 2003 12:51 PM
> >To: NTLUG Discussion List
> >Subject: RE: [NTLUG:Discuss] No login challenge
> >
> >
> >Isn't this strange?  After trying the below, I'm still getting the same
> >access required error message.  Looking at view script, here's the HTML for
> >the page.
> >
> ><title>401 Authorization Required</title>
> ></head><body>
> ><h1>Authorization Required</h1>
> ><p>This server could not verify that you
> >are authorized to access the document
> >requested.  Either you supplied the wrong
> >credentials (e.g., bad password), or your
> >browser doesn't understand how to supply
> >the credentials required.</p>
> ><hr />
> ><address>Apache/2.0.40 Server at 66.12.9.126 Port 26788</address>
> ></body></html>
> ><!--//--><DEFANGED_script>if(document.layers){document.captureEvents(Event.M
> >OUSEUP);}document.onmouseup=PrxOMUp;</DEFANGED_script>
> >
> >Now the question becomes why doesn't the browser on the test machine (W2K)
> >produce a login prompt?  Or can I select a different error message from
> >Apache?
> >
> >BTW, I cannot telnet to the port.  I get a "cannot connect"
> >message.  Perhaps things are working differently inside the network versus
> >outside.  No .acl's in apache.conf (they're in squid, but direct access to
> >the server has to work first).  Without security, the web site works
> >perfectly.
> >
> >Ted
> >
> >
> >_______________________________________________
> >https://ntlug.org/mailman/listinfo/discuss
> 
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
> 




More information about the Discuss mailing list