httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Avila" <Michael.Avil...@sbcglobal.net>
Subject RE: [users@httpd] Cannot Get Basic Auth to Work
Date Thu, 08 Dec 2005 22:26:47 GMT


> -----Original Message-----
> From: Joshua Slive [mailto:jslive@gmail.com]
> Sent: Thursday, December 08, 2005 4:39 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Cannot Get Basic Auth to Work
>
> Depends on how your apache is compiled.  Omitting this directive will
> get you the default, which will probably work.  But this is not your
> current problem.  If this directive was set incorrectly but everything
> else was right, you'd get a message in the error.log.

I am using binaries that I downloaded from the Apache site.

> I was only referring to the AllowOverride line.  The AuthName and
> Require lines are essential.  Are you reading the documentation on
> these directives?  Don't just take our word for it.

If I read the docs and still cannot get it to work I have to trust somebody!
Hey, I sure am not understanding it.

> > > > Alias /o E:/ApacheGroup/Apache2/d/c/a
> > > > <Directory /o>
>
> This is wrong.  As I said, it needs to be <Directory
> "E:/ApacheGroup/Apache2/d/c/a">.  See:
> http://httpd.apache.org/docs/2.2/sections.html#file-and-web
> This is probably the cause of your central problem.  And it would have
> been easily noticed by others before if you hadn't obscured your
> config file.

If this is wrong then why is the proper web page showing up? Look at the
ALIAS dir name. Isn't the <Directory name supposed to be that name? It is
the way that I have everything else and they work. And, aside from not
getting the auth dialog box, it works in that I get the proper web page. If
I was getting an error or not getting the right page I would agree.

Does that sound right?

Mike





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message