Hi Ernie,

that's funny. I just encountered the same problem yesterday.
I manually adapted modules/tcl/http.tcl.
I thought of making a general solution, but haven't investigated
the time.
Maybe this quick hack helps you.

In "modules/tcl/http.tcl", function "ns_httpopen"
I changed the line
    set fds [ns_sockopen -nonblock $host $port]
to
    set fds [ns_sockopen -nonblock <your-proxy-server> <your-proxy-port>]
    set uri http://$host$uri

After that I was able to install the OpenACS-modules.

As mentioned above this is a quick dirty hack. Hopefully someone has
a cleaner and more configurable solution.

Best regards
  Stefan


> -----Urspr�ngliche Nachricht-----
> Von: AOLserver Discussion [mailto:[EMAIL PROTECTED] Auftrag
> von Ernie Ghiglione
> Gesendet: Montag, 22. M�rz 2004 09:33
> An: [EMAIL PROTECTED]
> Betreff: [AOLSERVER] Making connections behind a proxy
>
>
> Hi there,
>
> Our university network (Univ. of Sydney) unfortunately has a proxy server
> that all outgoing http calls (on port 80) have to go thru. We heavily use
> AOLserver for all OpenACS/.LRN and at this stage we are trying to do work
> with web services and other http calls and haven't quite figure out how to
> set up AOLserver to use the university proxy. To be perfectly honest, we
> have no idea even where to start looking.
>
> Could anyone please tell me if there's a way to do so or if there's
> something we need to modify to get around this proxy?
>
> Thanks,
>
> Ernie
>
>
> --
> AOLserver - http://www.aolserver.com/
>
> To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with 
> the
> body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field 
> of your email blank.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to