httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] Odd .htaccess problem
Date Tue, 06 Dec 2005 16:13:04 GMT
On 12/6/05, kloomis <> wrote:
>  At 02:47 PM 12/5/2005 -0500, you wrote:
> On 12/5/05, kloomis <> wrote:
>  > Hello:
>  >
>  > I have an odd problem with htaccess.  It takes two passes at the logon to
>  > gain access to the directory - same user name and password for each.
>  Josua:  Thank you for the reference.  Indeed, using a trailing slash
> removes the second authorization request.  I do not understand the
> directions relating to the ServerName, though.  As far as I can tell there
> is no ServerName directive in .htaccess.  This system sits on an ISP so I
> don't have access to the httpd config file.

Then you're screwed ;-)

This can only be fixed in httpd.conf.  Most sites (and the default
apache configuration) now use "UseCanonicalName off" to avoid problems
like this, so you might try asking your isp to change the

Other than that, you might be able to do something obscure like
putting your auth directives inside a <FilesMatch .+> ...
</FilesMatch> section to try to prevent them from acting on the
request before the redirect.  I don't know if that will work or not.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message