Redirect https://encrypted.google.com
9 posts
• Page 1 of 1
Redirect https://encrypted.google.com
Hi Guys,
Like the new forum!
I was wondering someone could help me with redirecting access to Google's SSL site 'https://encrypted.google.com' to google.co.uk
I can get http://encrypted.google.com to redirect but not with HTTPS
I have tried changing HTTPS to HTTP before redirecting to google.co.uk
I have tried a couple of options to do this but they have failed.
RewriteCond Host: https://encrypted\.google\.com
RewriteRule (.*) http://google.co.uk/$1 [I,R]
RewriteCond %HTTPS (on)?.*
RewriteCond Host: encrpted\.google\.com
RewriteRule (.*) http(?1s)\://google.co.uk$1 [RP]
I am using the following to convert http://encrypted.google.com to google.co.uk
#RewriteCond Host: encrypted\.google\.com
#RewriteRule (.*) http\://google.co.uk [I,RP]
Current Rules:
[ISAPI_Rewrite]
# Force Strict Search for Google
RewriteRule (.*)?google\.co(.*intl/en/(.*).*) $1google.co$2 [I,L]
RewriteRule (.*)?google\.co(.*intl/en_uk/(.*).*) $1google.co$2 [I,L]
RewriteRule (.*)?google\.co(.*calendar(.*).*) $1google.co$2 [I,L]
RewriteRule (.*)?google\.co(.*/accounts(.*).*) $1google.co$2 [I,L]
RewriteRule (.*)?google\.co(.*/chrome(.*).*) $1google.co$2 [I,L]
RewriteRule (.*)?google\.co(.*url=http(.*).*) $1google.co$2 [I,L]
RewriteRule (.*)?google\.co(.*q=http(.*).*) $1google.co$2 [I,L]
#Google Force Safe Search and Disable Instant
RewriteRule (.*)?www.google\.co(.*/[^?]*)(\?.*)? $1www.google.co$2(?3$3&:\webhp?)safe=strict&complete=0 [I,L]
RewriteRule (.*)?images.google\.co(.*/[^?]*)(\?.*)? $1images.google.co$2(?3$3&:\webhp?)safe=strict&complete=0 [I,L]
RewriteRule (.*)?video.google\.co(.*/[^?]*)(\?.*)? $1video.google.co$2(?3$3&:\webhp?)safe=strict&complete=0 [I,L]
Any help on how to best achieve this would be much appreciated.
Thanks in advance
Julian
Like the new forum!
I was wondering someone could help me with redirecting access to Google's SSL site 'https://encrypted.google.com' to google.co.uk
I can get http://encrypted.google.com to redirect but not with HTTPS
I have tried changing HTTPS to HTTP before redirecting to google.co.uk
I have tried a couple of options to do this but they have failed.
RewriteCond Host: https://encrypted\.google\.com
RewriteRule (.*) http://google.co.uk/$1 [I,R]
RewriteCond %HTTPS (on)?.*
RewriteCond Host: encrpted\.google\.com
RewriteRule (.*) http(?1s)\://google.co.uk$1 [RP]
I am using the following to convert http://encrypted.google.com to google.co.uk
#RewriteCond Host: encrypted\.google\.com
#RewriteRule (.*) http\://google.co.uk [I,RP]
Current Rules:
[ISAPI_Rewrite]
# Force Strict Search for Google
RewriteRule (.*)?google\.co(.*intl/en/(.*).*) $1google.co$2 [I,L]
RewriteRule (.*)?google\.co(.*intl/en_uk/(.*).*) $1google.co$2 [I,L]
RewriteRule (.*)?google\.co(.*calendar(.*).*) $1google.co$2 [I,L]
RewriteRule (.*)?google\.co(.*/accounts(.*).*) $1google.co$2 [I,L]
RewriteRule (.*)?google\.co(.*/chrome(.*).*) $1google.co$2 [I,L]
RewriteRule (.*)?google\.co(.*url=http(.*).*) $1google.co$2 [I,L]
RewriteRule (.*)?google\.co(.*q=http(.*).*) $1google.co$2 [I,L]
#Google Force Safe Search and Disable Instant
RewriteRule (.*)?www.google\.co(.*/[^?]*)(\?.*)? $1www.google.co$2(?3$3&:\webhp?)safe=strict&complete=0 [I,L]
RewriteRule (.*)?images.google\.co(.*/[^?]*)(\?.*)? $1images.google.co$2(?3$3&:\webhp?)safe=strict&complete=0 [I,L]
RewriteRule (.*)?video.google\.co(.*/[^?]*)(\?.*)? $1video.google.co$2(?3$3&:\webhp?)safe=strict&complete=0 [I,L]
Any help on how to best achieve this would be much appreciated.
Thanks in advance
Julian
Re: Redirect https://encrypted.google.com
Jul3s wrote:RewriteCond %HTTPS (on)?.*
RewriteCond Host: encrpted\.google\.com
RewriteRule (.*) http(?1s)\://google.co.uk$1 [RP]
Try this:
RewriteCond %HTTPS on.*
RewriteCond Host: encrypted\.google\.com
RewriteRule (.*) http\://google.co.uk$1 [I,RP]
BTW, what edition and build of the ISAPI_Rewrite 2 are you using?
Re: Redirect https://encrypted.google.com
Hi Lexey,
Thanks for the response, i'm not going to be able to test it until Monday morning (out of core hours)
We are using version 2.15.78
Thanks again,
Julian
Thanks for the response, i'm not going to be able to test it until Monday morning (out of core hours)
We are using version 2.15.78
Thanks again,
Julian
Re: Redirect https://encrypted.google.com
Hi Lexey,
When i enter the above at the top it makes no difference, https://encrypted.google.com is still available. Any ideas?
Julian
When i enter the above at the top it makes no difference, https://encrypted.google.com is still available. Any ideas?
Julian
Re: Redirect https://encrypted.google.com
And how are you forcing requests to the encrypted.google.com to go to your server instead of the encrypted.google.com itself?
Re: Redirect https://encrypted.google.com
Hi Lexey,
All i am trying to do is redirect https://encrypted.google.com to google.co.uk as i don't want anyone bypassing my content filtering (education based)
All i am trying to do is redirect https://encrypted.google.com to google.co.uk as i don't want anyone bypassing my content filtering (education based)
Re: Redirect https://encrypted.google.com
Again, to redirect it you first need to ensure that any request to the encrypted.google.com will go through your server. How are you going to perform that? Or is it ISA version?
Re: Redirect https://encrypted.google.com
I am afaraid this redirect will never work because https traffic is encrypted, so the filter cannot process it.
9 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 7 guests