You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Does this set REMOTE_USER ?
I have a application that runs a cgi (py) that needs to pick up the username that has signed in against crowd. Please advise
Hi Marcel,
Yes it does.
This is an example of how it looks on the access_log:
172.16.28.1 - apache [25/Mar/2014:18:48:04 -0300] "GET /repositorio/ HTTP/1.1" 401 472 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:28.0) Gecko/20100101 Firefox/28.0"
172.16.28.1 - admin [25/Mar/2014:18:48:08 -0300] "GET /repositorio/ HTTP/1.1" 401 472 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:28.0) Gecko/20100101 Firefox/28.0"
As you can see, one access was made with apache user, and the other with admin user. With PHP you could retrieve the user with the variable $_SERVER ['REMOTE_USER']
Best regards,
Felipe Alencastro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.