You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Stefan-Michael. Guenther (in-put GbR)" <S....@in-put.de> on 2005/09/12 15:57:37 UTC
[users@httpd] Apache checks authentication twice
Hi,
I have set up a password protected directroy as follows:
<Directory /srv/www/htdocs/excel>
AuthType Basic
AuthName "Access for Excel Files"
AuthUserFile /etc/apache2/excel-files
require user 9034001
</Directory>
This dir contains MS Excel files. The Internet Explorer asks me for the
username and password as expected. When I click on one of the Excel files,
Excel comes up and asks me a second time for a username and passwort.
I guess that for apache a second application wants to access this dir and
therefore it asks for the data, again.
Does anyone of you know a trick to get rid of the second authentication
window?
Thanks in advance,
Stefan
--
********************************************
in-put GbR - Das Linux-Systemhaus
Stefan-Michael Guenther
Moltkestrasse 49 D-76133 Karlsruhe
Tel./Fax : +49 (0)721 / 83044 - 98/93
http://www.in-put.de
********************************************
Schulungen Installationen
Beratung Support
********************************************
---------------------------------------------------------------------
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
Re: [users@httpd] Apache checks authentication twice
Posted by Joshua Slive <js...@gmail.com>.
On 9/12/05, Stefan-Michael. Guenther (in-put GbR) <S....@in-put.de> wrote:
> This dir contains MS Excel files. The Internet Explorer asks me for the
> username and password as expected. When I click on one of the Excel files,
> Excel comes up and asks me a second time for a username and passwort.
>
> I guess that for apache a second application wants to access this dir and
> therefore it asks for the data, again.
> Does anyone of you know a trick to get rid of the second authentication
> window?
No, this isn't how it works. Apache asks for the credentials on
*every request*. Normally the browser only prompts for the
userid/password once and then caches the credentials and resends them
automatically. So this is a client issue that can't be fixed from the
server side, as far as I know.
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org