KWestos Posted March 4, 2008 Report Posted March 4, 2008 Is there a way in policies to redirect google to that of our schools intranet homepage search engine (as this generates revenue for us). What I want is when a pupil types in google it redirects to our search page (simple). Is it easy to do? Thanks
Iain Posted March 4, 2008 Report Posted March 4, 2008 What are you using for your web proxy? This is very easy to achieve using squid and a little bit of perl scripting. Iain.
KWestos Posted March 4, 2008 Author Report Posted March 4, 2008 Hi Unfortunately we are using a 'cachebox' supplied by our Broadband consortium (CLEO) Thanks
boomam Posted March 4, 2008 Report Posted March 4, 2008 Is there a way in policies to redirect google to that of our schools intranet homepage search engine (as this generates revenue for us). What I want is when a pupil types in google it redirects to our search page (simple). Is it easy to do? Thanks Generates revenue? How?
lonewolff Posted March 4, 2008 Report Posted March 4, 2008 What I would do in this situation would be to set the server with the search stuff on to respond with the search page to any url's you wish to point there then just put these on your dns server. e.g. if I wanted to redirect http://www.google.com to our own search engine I would go onto the web server with the search app on it, and set it up to respond with our search page to any requests to the domain http://www.google.com then go into DNS and set http://www.google.com up as a record pointing to that server
Ric_ Posted March 4, 2008 Report Posted March 4, 2008 Use a GPO to prevent http://www.google.com, etc. from using the proxy. Add records in your hosts files on the clients and job's a good un
Geoff Posted March 4, 2008 Report Posted March 4, 2008 Generates revenue? How? https://www.google.com/adsense/static/en_US/WsOverview.html
tom_newton Posted March 4, 2008 Report Posted March 4, 2008 Using DNS is a bad idea. May cock up other things if your search doesnt work precisely like google. Best way to do it is a rewrite rule on your proxy - CLEO lot should be able to do it.
Geoff Posted March 4, 2008 Report Posted March 4, 2008 My soultion is: 1) Setup a Googlish type search page at search.school.lea.sch.uk 2) have a wildcard DNS entry for your school.lea.sch.uk domain that redirects to search.school.lea.sch.uk 3) Use SquidGuard to search/replace url requests for popular search engines back to search.school.lea.sch.uk (allow searches when search.school.lea.sch.uk is the referer though!). 4) ??? 5) PROFIT!
boomam Posted March 5, 2008 Report Posted March 5, 2008 https://www.google.com/adsense/static/en_US/WsOverview.html I thought it might be that, but is that even legal for a school to do?
Geoff Posted March 5, 2008 Report Posted March 5, 2008 Google didn't complain when we signed up. We've currently made $8.
boomam Posted March 5, 2008 Report Posted March 5, 2008 lol. I didnt mean google complaining, i mean from the perspective of the goverment, schools arnt aloud to make profit are they? Or am i talking nonsense? .
torledo Posted March 5, 2008 Report Posted March 5, 2008 What I would do in this situation would be to set the server with the search stuff on to respond with the search page to any url's you wish to point there then just put these on your dns server. e.g. if I wanted to redirect http://www.google.com to our own search engine I would go onto the web server with the search app on it, and set it up to respond with our search page to any requests to the domain http://www.google.com then go into DNS and set http://www.google.com up as a record pointing to that server can you even do that in windows dns server ?, i was under the impression you could only add records of hosts that use the fqdn of the school network, therefore only hosts that use the domain of the internal dns server e.g myschool.sch.uk so you can't have any record with a different domain name e.g google.com or maybe i've misunderstood what you're saying.
localzuk Posted March 5, 2008 Report Posted March 5, 2008 can you even do that in windows dns server ?, i was under the impression you could only add records of hosts that use the fqdn of the school network, therefore only hosts that use the domain of the internal dns server e.g myschool.sch.uk so you can't have any record with a different domain name e.g google.com or maybe i've misunderstood what you're saying. Yep, you can add a new forward lookup zone (so google.com) and then add an A record for www. or whatever you want. That is what I've done for our school site internally it just directs straight to our webserver's internal IP, but from external hosts it gets port forwarded from our firewall.
localzuk Posted March 5, 2008 Report Posted March 5, 2008 My soultion is: 1) Setup a Googlish type search page at search.school.lea.sch.uk 2) have a wildcard DNS entry for your school.lea.sch.uk domain that redirects to search.school.lea.sch.uk 3) Use SquidGuard to search/replace url requests for popular search engines back to search.school.lea.sch.uk (allow searches when search.school.lea.sch.uk is the referer though!). 4) ??? 5) PROFIT! That is against the rules for the google adsense program. You can't interfere with people's requests in any way. They have to use the site as presented to them - so stealing searches from other sites and posting them to your own google search is against the rules.
Ric_ Posted March 5, 2008 Report Posted March 5, 2008 Best way to do it is a rewrite rule on your proxy - CLEO lot should be able to do it. It would be the best way but the box is a cachepilot!
tech_guy Posted March 5, 2008 Report Posted March 5, 2008 Wow, $8. That's almost half a pizza! Where do I sign up?!
SteveBentley Posted March 7, 2008 Report Posted March 7, 2008 Don't you only get paid anything when somebody clicks the links in the ads, not merely when they are displayed?
boomam Posted March 7, 2008 Report Posted March 7, 2008 Yeah. I just checked with our finance officier here as i wouldnt have minded doing something similar here, as the money could be used as extra revenue for IT parts. But the finance officer thinks that there might be some sort of legal problem with a school doing that, as we're not ment to make a profit. .
localzuk Posted March 7, 2008 Report Posted March 7, 2008 Yeah. I just checked with our finance officier here as i wouldnt have minded doing something similar here, as the money could be used as extra revenue for IT parts. But the finance officer thinks that there might be some sort of legal problem with a school doing that, as we're not ment to make a profit. . Not making a profit is not the same as not having income.
boomam Posted March 10, 2008 Report Posted March 10, 2008 Not making a profit is not the same as not having income. Im still to hear off the powers that be here, but it doesnt look like they're gonna allow me to do it. But they let other support departments make profit for materials in other ways...? .
Guest kerrymoralee9280 Posted March 10, 2008 Report Posted March 10, 2008 We sold our old PC's to the community years ago to help pay for the new ones. There was nothing illegal about this. Not as if the IT department were planning on paying for a holiday with these raised revenues. If using Google in this way was illegal, it would also mean you can't have fund raisers and all that malarky. Hell, it would mean your Science department couldn't even sell pens anymore.
ahuxham Posted July 2, 2008 Report Posted July 2, 2008 squid + squidGuard. Create a blacklist for google.com, google.co.uk, google.cn (we have many a chinese boarding student) add redirect to your own search, apply to squid.conf, and squid will see the site as blocked and redirect to the "naughty" page, which in this case is our own search page.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now