Basic Authentication Issue
5 posts
• Page 1 of 1
Basic Authentication Issue
I have installed Ape a Windows 2008 server running IIS 7.5 and am trying to setup basic authentication for a folder. I have followed the instructions in this article (http://www.helicontech.com/articles/sit ... ows-users/) and when when I vist the protected folder, I do get an authentication dialog. However, when I enter my username and password and hit login, the authentication dialog box just pops back up again. I turned on logging and this is what I see.
[2/8/2013 4:15:45 PM] [authn_file_module] (8) [/41morgan] AuthUserFile: c:\inetpub\.htpasswds
[2/8/2013 4:15:45 PM] [authn_file_module] (8) [/41morgan] user bill added
[2/8/2013 4:15:45 PM] [auth_basic_module] (8) [/41morgan] Authorization header not found
[2/8/2013 4:15:52 PM] [auth_basic_module] (8) [/41morgan] Authorization method is not 'Basic'
[2/8/2013 4:15:57 PM] [mod_core_context] (8) [/jakarta/isapi_redirect.dll] ConfigFactory.LoadHtaccess:
Does anyone have any suggestions?
[2/8/2013 4:15:45 PM] [authn_file_module] (8) [/41morgan] AuthUserFile: c:\inetpub\.htpasswds
[2/8/2013 4:15:45 PM] [authn_file_module] (8) [/41morgan] user bill added
[2/8/2013 4:15:45 PM] [auth_basic_module] (8) [/41morgan] Authorization header not found
[2/8/2013 4:15:52 PM] [auth_basic_module] (8) [/41morgan] Authorization method is not 'Basic'
[2/8/2013 4:15:57 PM] [mod_core_context] (8) [/jakarta/isapi_redirect.dll] ConfigFactory.LoadHtaccess:
Does anyone have any suggestions?
Re: Basic Authentication Issue
Hello,
Please show the .htaccess you are using.
And make sure you've disabled all other types of Windows authentication in except Anonymous.
Please show the .htaccess you are using.
And make sure you've disabled all other types of Windows authentication in except Anonymous.
Re: Basic Authentication Issue
Here is the contents of the .htaccess file. I have also double checked the IIS authentication setting for the site and the folder and both only have Anonymous set.
# Helicon Ape version 3.1.0.95
# Authentication type
AuthType Basic
# Name of area authentication will be used for (aka realm)
AuthName "secret area"
# Authentication provider. Here - mod_authn_file
AuthBasicProvider file
# Info for mod_authn_file - path to password file
AuthUserFile c:\inetpub\.htpasswds
# Access will be granted to all authenticated users
Require valid-user
ErrorDocument 403 "Sorry, the access is forbidden"
# Helicon Ape version 3.1.0.95
# Authentication type
AuthType Basic
# Name of area authentication will be used for (aka realm)
AuthName "secret area"
# Authentication provider. Here - mod_authn_file
AuthBasicProvider file
# Info for mod_authn_file - path to password file
AuthUserFile c:\inetpub\.htpasswds
# Access will be granted to all authenticated users
Require valid-user
ErrorDocument 403 "Sorry, the access is forbidden"
Re: Basic Authentication Issue
Hello,
Please get us the response headers for the request using WFetch, Fiddler or Chrome/Firefox web inspector.
Please get us the response headers for the request using WFetch, Fiddler or Chrome/Firefox web inspector.
Re: Basic Authentication Issue
Ok, I just sent them to the support email address. While I was retrieving them, I tested this issue in multiple browsers and found that it apparently works in Firefox on both Mac and PC. However, it does not work in Chrome (Mac or PC), Safari, or IE.
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests