On 12/6/05, kloomis <kloomis@xxxxxxxxxxxxxxxx> wrote: > At 02:47 PM 12/5/2005 -0500, you wrote: > > On 12/5/05, kloomis <kloomis@xxxxxxxxxxxxxxxx> 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. > > http://httpd.apache.org/docs/1.3/misc/FAQ.html#prompted-twice > 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 configuration. 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. 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