Moodle wit ISA 2006 Proxy PAC

Moodle wit ISA 2006 Proxy PAC

by Tony Ying -
Number of replies: 5
Hi All,

Hopefully this is the correct section to post my question.

I am running Moodle. All my internal users are going through proxy pac to internet.

When proxy is configured on their IE Setting,user will fail to edit course category.

if proxy is removed,user is able to edit without any issue.

Please refer to attachment

Attachment moodle.JPG
Average of ratings: -
In reply to Tony Ying

Re: Moodle wit ISA 2006 Proxy PAC

by Mark Johnson -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
What version of Moodle and IE are you using? Also, are you using HTTPS for this page?
A possible work around that occurs to me is bypassing the proxy for Moodle traffic, if that's possible with your setup?
In reply to Mark Johnson

Re: Moodle wit ISA 2006 Proxy PAC

by Tony Ying -
Moodle 1.9.3 and using IE 7...using HTTP

how to bypass moodle traffic ?

i did allow http and https traffic in ISA 2006


In reply to Tony Ying

Re: Moodle wit ISA 2006 Proxy PAC

by Mark Johnson -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
There's a setting in Internet Explorer that says "Bypass proxy settings for local addresses", assuming that Moodle lives on your local network (with a 192.168.x.x, 172.16-31.x.x or 10.x.x.x IP address) that might solve the problem.
In reply to Mark Johnson

Re: Moodle wit ISA 2006 Proxy PAC

by Tony Ying -
Actually i am using Proxy PAC.

I am using the "use automatic configuration script"


In reply to Tony Ying

Re: Moodle wit ISA 2006 Proxy PAC

by Mark Johnson -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
A quick google turned up this page: http://www.craigjconsulting.com/proxypac.html

This example should do something like what you want, with the appropriate addresses changed:
function FindProxyForURL(url, host)
{
if (shExpMatch(url, "http://moodle.example.com*")) {
return "DIRECT";
}
if (isInNet(myIpAddress(), "192.168.1.0", "255.255.255.0"))
return "PROXY 192.168.1.1:8080";
else
return "DIRECT";
}
Where http://moodle.example.com is your moodle server, 192.168.1.0 is your internal network address, and 192.168.1.1:8080 is your proxy server