View Full Version : Simple HTTP Proxy with web authentication?
carrot
05-07-2008, 04:16 AM
Hi.
I want to set up a proxy server with apache (I'm running it in WAMP right now) that can be accessed from anywhere, but when you first try and go to a webpage, or when you go to a predetermined webpage, it makes you login Via a web interface before the proxy is useable.
Basically I want the client-side configuration to be as simple as it is for a normal proxy, put in the IP address and port number, but when you try and use it, you have to put in a username/password.
Is this possible?
Thank you!!
yawningdog
05-10-2008, 06:02 PM
I use squid for web proxy, although I use it on Linux and have never attempted the feature you mention. It's a free download and available for windows.
http://www.squid-cache.org/Download/binaries.dyn
Good luck and do let me know how it goes.
carrot
05-10-2008, 06:05 PM
When you say you've never attempted the feature I mentioned, do you mean that that feature is available in squid, and you've just never used it? Or you don't know know if it's in there?
yawningdog
05-10-2008, 07:19 PM
Squid may be able to do as you describe, but I don't know for sure. If I were a betting man though, I'd give 5-2 odds that it can. The linux config file is enormous and packed with options, but that doesn't necessarily mean the windows version has the same capability. I'd do the research for you and give a more definitive answer, but I'm lazy that way. I personally use it to route HTTP traffic through an SSH tunnel.
I'm curious, what exactly are you trying to do. Are you trying to secure access to the web server?
carrot
05-10-2008, 07:40 PM
Actually, there are a couple things I want to use it for.
First, I have a data plan on my cell phone, but it's only the basic, cheap plan. It works at the same speed and everything, but they've blocked all ports except like 6 or 7 different ones for email. If I can find a way to make my proxy server require authentication, I can open it up and configuring a computer to use it would be easy. I wouldn't have to install anything. I know I can do it with an SSH tunnel, but I'd rather... not. lol, I just want it to work.
The other thing is my ipod Touch. at my school they have a filter on the internet. I get around it by SSHing into my computer and using a SOCKS proxy, but I don't think i can do that from an ipod. And even if I could, it would eat my battery even faster.
Squid may be able to do as you describe, but I don't know for sure. If I were a betting man though, I'd give 5-2 odds that it can. The linux config file is enormous and packed with options, but that doesn't necessarily mean the windows version has the same capability. I'd do the research for you and give a more definitive answer, but I'm lazy that way. I personally use it to route HTTP traffic through an SSH tunnel.
I'm curious, what exactly are you trying to do. Are you trying to secure access to the web server?
vBulletin v3.6.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.