Skip to main content
Participating Frequently
October 1, 2012
Question

cfapplication and htaccess

  • October 1, 2012
  • 1 reply
  • 506 views

I'm running the latest CF server on a nice Linux box (can't remember what type but it's good and standard) and all is well.

For various reasons I would prefer to authenticate against htaccess... ie the user logs in and then magically in my cfapplication I suck there login from apache and then decide what I'm going to let them see.

I know there must be a way but I've surfed and surfed and can't see anything.

I'd appreciate your expert advice, peeps!

Helen

This topic has been closed for replies.

1 reply

Participating Frequently
October 2, 2012

Well there we go... surf and you will find after 24 hours

Apparently GetAuthUser will get the login from htaccess if it can't find one from CF authentication.

So this is what I needed...

<H3>GetAuthUser Example</H3>

<P>Authenticated User: <cfoutput>#GetAuthUser()#</cfoutput>