Need Help with Apache Proxy Module Settings

RHITMacMan

Registered
I have been able to enable the apache proxy server module within the httpd.conf file by uncommenting a few lines and restarting apache. I have done this so that I can share an internet connection within my home among several computers, both PCs and Macs. When surfing the web it works like a dream with no problems what so ever. Although, if I try to run applications like AOL Instant Messenger (AIM) or retrieve mail on these machines, I am not able to do so. So I suspect that there is something special that I need to either configure in the httpd.conf file or on these other machines. I would really appreciate it if someone could help me solve this problem.

To aid you in helping me out, I will tell you what things l have tried in AIM to get it to work with my OS X proxy server. I open the connection preferences and check "Connect using proxy" and then put in my IP address beside "Host:" and set it to port 80 beside "Port:" in the window. I was not sure which protocal to select so I tried them all and none seem to work. My choices are SOCKS 4, SOCKS 5, and HTTPS. As far as e-mail goes, I'm not sure what I need to do. I usually use Netscape with IMAP on my other computers but sometimes use Outlook with IMAP as well. If someone could get AIM and e-mail with IMAP to work on these other machines via my OS X proxy server I would really be indebted to you.

_________________________________
RHITMacMan
 
I dont know how to setup apache for https but that is going to be
your only hope. Otherwise, you are going to have to run the SOCKS
server (which is NOT part of apache).
 
That's kind of what I guessed I was going to need to do. I just was not sure what things I needed to do to enable https. I figure there are some enabling statements that I need to add to the httpd.conf file or some other configuration file. I just need to figure out what they might be. Hopefully someone out there has did this and knows what to do. Surely Apache has to be able to proxy more than webpages. After all, it's widely used product that is run on over 50% of the internet servers out there.

__________________________
RHITMacMan
 
Well, I guess we were wrong with respect to needing the SSL module, you don't actually need it. After browsing around the Apache site I found that what I did need to do was insert the AllowCONNECT statement into my httpd.conf inside the proxy module directives statement block. The AllowCONNECT statement allows you to enable other ports besides the default ports of 563 and 443 so that other ports can be called upon via your proxy server. Apparently, this was a recent addition and a good one at that, perhaps this is why I was never able to find the solution before. From what I understand, the AllowCONNECT statement only works with Apache version 1.3.20 or later. The current version of Apache is 1.3.22, I believe.

I found the port for AOL Instant Messenger is 5190, so I added it and now AIM works great. Although, I am still having problems with IMAP.

I found the IMAP port to be 143 and secure IMAP to 993, so I enabled both of these. The POP port is 995 and the POP3 port is 110. The SMTP port is 25. So enabled these as well. Note, you do need to re-enable port 563 and 443 in the AllowCONNECT statement because they are only defaultly enabled when the statement is not present. When you insert this statement the defaults are gone and only your specified ports are made available. So my AllowCONNECT statement looks like the following...

AllowCONNECT 443 563 5190 143 993 110 995 25

I still am not able to get IMAP mail to work via Netscape though. I open up Netscape, click on the mail button, and I get the usual unable to connect messages as if I were not connected to the internet. I believe I am on verge of solving this one, perhaps someone has the solution I am looking for. Let me know if you do or have any ideas.
 
Back
Top