This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
Helicon Ape
 Helicon Tech : Helicon Ape
Subject Topic: Ape and IIS7 anonymous user Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
garryc
Newbie
Newbie


Joined: 12 January 2012
Online Status: Offline
Posts: 1
Posted: 12 January 2012 at 2:58pm | IP Logged Quote garryc

Hello

I'm not sure if this works or not but we are trying to setup simple authentication to an IIS7 site. What we need to do is password protect just the entry point to the site and not
pass the credentials back to the application.

Server is Windows 2008, IIS7
Application pools are ASP.net 2.0 running in Classic mode

I've installed the 45day trial of APE and setup .htaccess with the following:

# Helicon Ape version 3.0.0.76

# Authentication type
AuthType Basic
# Name of area authentication will be used for (aka realm)
AuthName "<our site name>"

# Authentication provider. Here - mod_authn_file
AuthBasicProvider file
# Info for mod_authn_file - path to password file
AuthUserFile c:\sites\main\.htpasswds
# Access will be granted to all authenticated users
Require valid-user

When I try accessing the site I get the username and password prompt, which I expect but then get a 401 error. In the IIS logs it shows:

System.ServiceModel.Security.MessageSecurityException: The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received
from the server was 'Basic realm=...

thanx
Garry
Back to Top View garryc's Profile Search for other posts by garryc
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 13 January 2012 at 3:44am | IP Logged Quote Anton

Hello Garry

Please consider switching the pool to Integrated mode as it's required for Ape to operate correctly.
Also please make sure all Windows authentications except Anonymous are disabled in IIS.

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You can vote in polls in this forum