UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Technical Support > VPS Hosting - Virtual Private Servers

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 14-05-2008, 20:02
Junior Member
 
Join Date: Apr 2008
Posts: 11
Default redirect all https calls to http

HI all,

EUKHOSTS are currently making a bit of a mess of an SSL order I placed and I am in desperate need of an emergency patch...

There are a number of links on various websites that call up links on https://
these links are of course now throwing up SSL errors in browsers... this did not used to be much of a problem but IE7 and FF3 refuse to show anything..

I have just discovered that my client accidently called all of their ebay images and ecommerce images via
Code:
https://www.blah.com/image.jpg
I know they should not have been but that does not help the fact that every shop image and every ebay product description is now showing no images!! and they are losing lots and lots of money..

so given that eukhosts have failed to install the SSL cert (which would solve all my problems in one go!!) i really really need to redirect all https calls to http..

so far I have tried the following on .htaccess files

RewriteEngine on
RewriteCond %{HTTPS} =on
RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

and

RewriteEngine On
RewriteCond %{SERVER_PORT} ^443$
RewriteRule (.*) http://%{SERVER_NAME}/$1 [R=301,L]

all to no avail..

I tried asking the vps help desk via chat but no luck...

has anyone got a clue???

much appreciated.
Reply With Quote
  #2 (permalink)  
Old 14-05-2008, 20:08
Site's Avatar
Premium Member
 
Join Date: Jan 2008
Location: UK
Posts: 370
Post

Hi,

Try


RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$ http://www.domain.tld/$1 [R]




Site
Reply With Quote
  #3 (permalink)  
Old 14-05-2008, 20:35
Junior Member
 
Join Date: Apr 2008
Posts: 11
Default

no luck

i have done tests to ensure that the rewrite module is working and all is well I just cant crack https > http
Reply With Quote
  #4 (permalink)  
Old 14-05-2008, 21:41
Junior Member
 
Join Date: Apr 2008
Posts: 11
Default

well good news on one front ..

my ssl cert it now installed WOOOOT

however, I am still very interested to know the answer to this problem...

cheers
Reply With Quote
  #5 (permalink)  
Old 15-05-2008, 22:51
jc8654's Avatar
Moderator
 
Join Date: May 2007
Location: Manchester, United Kingdom
Posts: 1,221
Send a message via MSN to jc8654
Default

I tried to redirect the otherway a while back and ended up giving up and rewriting my code. Wasn't ideal so I would also like to see if someone can come up with an answer to this...
__________________
Jonathan Crass
Joint Partner in Checker Design

North East Website design
UK based monitoring
Cheap UK Web Hosting

Save Jodrell Bank: www.savejodrellbank.org.uk

eUKhost Forum Moderator
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 19:42.

 

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

VPS Hosting
VPS Hosting plans

Dedicated Server Hosting
Dedicated Server plans

Business Web Hosting
100% uptime Hosting

Cpanel Hosting
cPanel Shared Hosting

Reseller Hosting
Reseller Web Hosting

Windows Hosting
Windows Shared Hosting

Windows VPS

Windows VPS Hosting

Semi Dedicated Servers
Semi-Dedicated Hosting

Dedicated Server Mirroring
Dedicated Server Mirroring

Webhosting Knowledgebase
Frequently asked Questions

Web Hosting Blog
eUKhost Blog

Web Hosting Support
Support Helpdesk

UK Data Center
eUKhost Datacenter

Web Hosting Forum
eUKhost Forum

Support Tutorials
Online Flash Tutorials

Offsite Back-up Plans
Remote Backup Service

Customer Testimonials
eUK Customer Testimonials


knowledgebase articles

eUKhost.com Services

Pre-Sales Questions
Pre-sales FAQ's

Domain Names
Domain registration FAQ's

cPanel Hosting
cPanel Hosting FAQ's

Windows Web Hosting
Plesk Control Panel

Reseller Hosting
Reseller Hosting FAQ's

VPS Hosting
Virtual Private Server

Semi-Dedicated Servers
Semi-Dedicated FAQ's

Dedicated Servers
Dedicated Server Hosting


popular blog categories


Web Hosting
Website Hosting articles

UK Web Hosting
UK Hosting articles

Dedicated Server Hosting
Dedicated Server guidelines

VPS Hosting
VPS hosting articles

cPanel Hosting
cPanel Hosting articles

Linux Operating System
Linux Operating techniques

Windows Web Hosting
Windows plesk articles