Re: [users@httpd] Cannot Get Basic Auth to Work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/8/05, Michael Avila <Michael.Avila.1@xxxxxxxxxxxxx> wrote:
> > > > > 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?

Nope.  The Alias is what gives you the webpage.  The <Directory>
section is used to apply additional config information to that area,
such as authentication.  One is working, the other  isn't.  The docs
are very clear that <Directory> applies to file-system directories,
not to webpaths.

Joshua.

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux