Re: .htaccess LogOn Oddity

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

 



On 1/29/07, Bob Cohen <bob@xxxxxxxxxxxxx> wrote:

On Jan 29, 2007, at 1:07 PM, Joshua Slive wrote:

>> From the 1.3 FAQ, but applies to all versions:
> http://httpd.apache.org/docs/1.3/misc/FAQ.html#prompted-twice

Thank you very much Joshua! Three remedies are suggested:

1. Always use the trailing slash when requesting directories;
2. Change the ServerName to match the name you are using in the URL;
and/or
3. Set UseCanonicalName off.

I already verified that the trailing slash works. Which is is the
"best practices" solution?

I would recommend doing this:
http://wiki.apache.org/httpd/Recipes/CanonicalHostNames
which assures that you are redirected to the canonical name before any
authentication happens.  But if you are looking for an easy solution,
3 works just fine (and is the default in all recent versions of
apache).

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