Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Reverse Proxy Authentication Part 2! |
|
Author |
|
drhigh5
Joined: 23 Mar 2010 Posts: 10 Location: Singapore
|
Posted: Mon 25 Apr '11 12:12 Post subject: Reverse Proxy Authentication Part 2! |
|
|
Hi, this is directed mainly at GLSmith who was so helpful before (if you are out there!) or anyone else that can help.
A year ago or so I set up a reverse proxy with Apache on a Windows 2008 server. I got it working nicely with password authentication and I can lock it down to IP address access too.
I didn't take it any further but now I have resumed the project.
I have a problem in that if I provide the proxy with a locked down IP address, every time the user's IP changes the proxy will no longer work.
So what I want to be able to do is to open the proxy and restrict multiple logins of the same username (from a given username and password that is generated using .htpasswd)
I.e. If that username is already accessing the proxy then it will prevent another user using the same username and password from logging in anywhere else or it will kick out the current user.
Any ideas how to do this people? |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7407 Location: EU, Germany, Next to Hamburg
|
Posted: Tue 03 May '11 10:16 Post subject: |
|
|
AFAIK restricting multiple logins over apache is not possible. That must be handled in the application. |
|
Back to top |
|
drhigh5
Joined: 23 Mar 2010 Posts: 10 Location: Singapore
|
Posted: Tue 03 May '11 12:51 Post subject: |
|
|
Thanks for your reply.
What application(s) are you referring? I've set up as a reverse proxy so can browse on other pcs through the servers ip and designated ports. |
|
Back to top |
|
James Blond Moderator

Joined: 19 Jan 2006 Posts: 7407 Location: EU, Germany, Next to Hamburg
|
Posted: Tue 03 May '11 14:23 Post subject: |
|
|
I thought you made it this way
client<--->reverse_proxy<--->backend_server:8080
if it is like this the login should be handled by the backend_server |
|
Back to top |
|
|
|
|
|
|