Basic Authentication Issue

Helicon Ape provides support for Apache .htacces and .htpasswd configuration files for Microsoft IIS.
User avatar
Posts: 9
Joined: 09 Aug 2012, 11:24

Basic Authentication Issue

08 Feb 2013, 18:28

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?

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: Basic Authentication Issue

11 Feb 2013, 08:34

Hello,

Please show the .htaccess you are using.

And make sure you've disabled all other types of Windows authentication in except Anonymous.

User avatar
Posts: 9
Joined: 09 Aug 2012, 11:24

Re: Basic Authentication Issue

11 Feb 2013, 13:00

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"

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: Basic Authentication Issue

12 Feb 2013, 06:59

Hello,

Please get us the response headers for the request using WFetch, Fiddler or Chrome/Firefox web inspector.

User avatar
Posts: 9
Joined: 09 Aug 2012, 11:24

Re: Basic Authentication Issue

12 Feb 2013, 15:44

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.

Return to Helicon Ape

Who is online

Users browsing this forum: No registered users and 11 guests