+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 23
Wireless Networks Thread, Teacher laptops / Internet at home in Technical; I am trying to give staff access to internet on their school laptops at home but am running in to ...
  1. #1

    Join Date
    Apr 2008
    Posts
    60
    Thank Post
    10
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Teacher laptops / Internet at home

    I am trying to give staff access to internet on their school laptops at home but am running in to a problem. I have experimented with vbs scripts and with pac files and have since decided I prefer the proxy pac method.
    IE6 with all latest updates installed and used in all instances;
    So, here is my proxy code (I have replaced my domain with 'mydomain' in all parts of this post)
    Code:
    function FindProxyForURL(url, host) 
    { 
    	if (
    		!isInNet(myIpAddress(), "10.112.0.0", "255.255.0.0") ||
    		isInNet(host, "10.112.0.0", "255.255.0.0") ||
    		dnsDomainIs(host, ".mydomain.local") ||
    		isPlainHostName(host) ||
    		shExpMatch(host, "*portal.mydomain.com*")
    	)
    	return "DIRECT";
    	
    	return "PROXY myproxy:8080"; 
    }
    This works flawlessly at home with one exception - the school OWA (may be worth noting that I had the same problem when using a VBS script also).
    https://mail.mydomain.com/owa returns a 404 page (not expected)
    https://mail.mydomain.com/ returns a default IIS page (expected)
    http://mail.mydomain.com/owa returns the page saying can only be accessed with https etc (expected)
    https://99.99.99.99/ returns default IIS page (expected)
    https://99.99.99.99/owa gives me email working perfectly (expected)

    nslookup resolves IP address correctly for OWA external address

    I have checked that hosts file does not contain any entries for 'mydomain', I have checked intranet/restricted/trusted zones in IE and mydomain is not listed.
    Exchange 2007 installed on Server 2003 Enterprise

    Any other information I'm missing?
    Anyone come across this anomaly? Have I missed something very obvious?

  2. #2

    Join Date
    Apr 2008
    Posts
    60
    Thank Post
    10
    Thanked 1 Time in 1 Post
    Rep Power
    0
    None of you guys have any idea about this problem? If someone there is thinking 'duh this is so obvious but I will spare this guys shame by letting him work it out himself', please put me out of my misery

    Alternatively - did I post in the wrong section perhaps?

  3. #3

    Join Date
    Nov 2006
    Posts
    998
    Thank Post
    132
    Thanked 58 Times in 51 Posts
    Rep Power
    24
    Any chance of upgrading to IE7? There's a free addon for it that, among other things, allows you to enable/disable the proxy with a key combination.

    IE7pro for Internet Explorer 7

  4. #4

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    There is nothing wrong with that proxy.pac file. Your problem lies elsewhere.

  5. #5

    Join Date
    Apr 2008
    Posts
    60
    Thank Post
    10
    Thanked 1 Time in 1 Post
    Rep Power
    0
    @Geoff - I had not expected the problem to be with the proxy.pac file, I posted it rather than just stating 'I use a pac file' and having people reply that I should include it in original message

    @fafster - I would prefer not to upgrade to IE7 at least not for the timebeing

    Any other suggestions?

  6. #6

    Join Date
    Mar 2008
    Location
    Boston, Lincolnshire
    Posts
    189
    Thank Post
    1
    Thanked 8 Times in 8 Posts
    Rep Power
    14
    what about adding a link in the hosts file pointing the domain to that ip?

  7. #7

    Join Date
    Apr 2008
    Posts
    60
    Thank Post
    10
    Thanked 1 Time in 1 Post
    Rep Power
    0
    I thought this would work too, but tried it and was unsuccessful. Later I realised it makes sense that this change shouldn't work since;

    https://mail.mydomain.com/owa returns a 404 page (not expected)
    https://mail.mydomain.com/ returns a default IIS page (expected)
    I just cannot understand why I'm having this problem, I've spent some time hunting through the registry and the only references to /owa are inside recently visited websites etc.
    I have looked at trusted/intranet zones and been playing around in here to see if this has anything to do with it but I can't understand why it should anyway.

  8. #8

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    I thought the default url for OWA was http://server/exchange/

  9. #9

    Join Date
    Apr 2008
    Posts
    60
    Thank Post
    10
    Thanked 1 Time in 1 Post
    Rep Power
    0
    In 2007, it switched to /owa

  10. #10
    browolf's Avatar
    Join Date
    Jun 2005
    Location
    Mars
    Posts
    1,524
    Thank Post
    106
    Thanked 88 Times in 74 Posts
    Blog Entries
    46
    Rep Power
    40
    tell em to use firefox at home to avoid proxy issues?

  11. #11

    Join Date
    Mar 2008
    Location
    Boston, Lincolnshire
    Posts
    189
    Thank Post
    1
    Thanked 8 Times in 8 Posts
    Rep Power
    14
    we basically have 2 shortcuts to reg keys that change the proxy... at school if they forget to do it the firewall is set to only allow internet access via the proxy... they soon remember...

  12. #12

    Join Date
    Apr 2008
    Posts
    60
    Thank Post
    10
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by browolf View Post
    tell em to use firefox at home to avoid proxy issues?
    We do not want to allow staff to change proxies themselves, they inevitably get it wrong and cry that nothing works. It would also allow them to use a parent proxy instead of our inhouse proxies.

  13. #13

    Join Date
    Apr 2008
    Posts
    60
    Thank Post
    10
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by hotwired007 View Post
    we basically have 2 shortcuts to reg keys that change the proxy... at school if they forget to do it the firewall is set to only allow internet access via the proxy... they soon remember...
    It doesn't appear to be a fault of the proxy settings anyway, as even taking out all proxy information when at home still has this oddity when connecting to OWA through IE.

  14. #14

    Join Date
    Mar 2008
    Location
    Boston, Lincolnshire
    Posts
    189
    Thank Post
    1
    Thanked 8 Times in 8 Posts
    Rep Power
    14
    does it work correctly when your trying to use a not networked PC?

    or just OWA doesn't work on any PC not in your network?

  15. #15

    Join Date
    Feb 2007
    Location
    Norfolk
    Posts
    137
    Thank Post
    2
    Thanked 9 Times in 9 Posts
    Rep Power
    17
    I created a very simple AutoIT script with a dialog box to switch the proxy on and off. All it does is toggle the "Use a proxy server" tickbox so you'll need to set the proxies up before use.

    Disclaimer: This is my own homebrew work, thrown together when a teacher asked if it could be done. It has been tested but I am not responsible for use / misuse / computer catches fire. etc.
    Attached Files Attached Files

  16. Thanks to craiglay from:

    reggiep (7th May 2008)

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Teacher Laptops - Internet Settings when offline
    By ajbritton in forum Internet Related/Filtering/Firewall
    Replies: 30
    Last Post: 9th March 2009, 01:59 PM
  2. Teacher unable to home log on to notebook PC
    By speckytecky in forum Windows
    Replies: 8
    Last Post: 15th November 2007, 10:12 AM
  3. Lifespan of your teacher laptops?
    By pete in forum Hardware
    Replies: 18
    Last Post: 12th October 2007, 07:31 PM
  4. teacher's laptops offline files
    By chrbb in forum Windows
    Replies: 10
    Last Post: 21st December 2006, 01:43 PM
  5. Replies: 18
    Last Post: 12th November 2006, 10:09 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •