Welcome, Guest. Please login or register.
Login with username, password and session length


Need help or want to talk to other developers? Join the VirtueMart Chat! Read more...

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
Pages: 1 2 3 [4]   Go Down
Print
Author Topic: Persistant HTTPS can be bad  (Read 49776 times)
Carsten
Newbie
*
Posts: 1


« Reply #45 on: August 16, 2007, 15:47:32 PM »

The code from duane works fine if i wouldnīt use JoomSEF...in combination with the the ARTIO VirtueMart Extension for JoomSEF...
i will get redirected to something like that:
http://www.stalls-textiles.dehttps//www.stalls-textiles.de/index.php?option=com_content&id=1&task=view&Itemid=3

normaly it shoud be following url: http://www.stalls-textiles.de/wo-kriegt-ihr-was.html

Joomla 1.0.13
Virtuemart 1.0.12 + HotFix for VirtueMart to use Joomla! 1.0.13
ARTIO JoomSEF + VirtueMart JoomSEF Extension 1.0.1
Server using  OpenSSL 0.9.7a Feb 19 2003
SSL-folder = Joomla-folder

thanx
Carsten

----------------------
EDIT

for me i did some changes to use duaneīs code.
changed this
Code:
$to_url = "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
mosRedirect( $to_url );
to this
Code:
$to_url = str_replace("https:","http:",$_SERVER['REQUEST_URI']);
mosRedirect( $to_url );

so if i will leave the https-area the joomsef url will not work..but thatīs ok...because itīs only the first page you select if you leave the secure area which one got no sef-url...
« Last Edit: August 17, 2007, 15:52:42 PM by Carsten » Logged
fhmanas
Newbie
*
Posts: 6


« Reply #46 on: August 20, 2007, 01:45:16 AM »

Just applied the patch on my Joomla 1.012 and VM 1.012 and it is working as it should, I used the modified for shared SSl code.
Logged
Tearstone
Newbie
*
Posts: 16


« Reply #47 on: September 03, 2007, 11:23:12 AM »

I'm having some issues getting this to work right. I used Deneb's hack which worked great until the top menu bar now passes two URLs back to back.

For instance, I have a top menu button directing users back to the forums. If they click that link, it should go to http://sitename.com/forum.html

Instead it goes to http://sitename.com/forum.htmlhttps://sitename.com/forum.html



Logged
vm_user
Full Member
***
Posts: 154


« Reply #48 on: September 16, 2007, 09:09:23 AM »

Carstens post above works for me with Joomla 1.0.11 and vm 1.0.10 using ArtoSEF 1.5.1.

Thanks man, been struggling with this one for ages.
Logged

Joomla 1.5.15, VM 1.1.4
Chaz
Jr. Member
**
Posts: 64


« Reply #49 on: September 23, 2007, 07:30:24 AM »

Carsten's additional code worked for me as well with JoomSEF 2.1 except for some components that I had set not to use JoomSEF. This was causing a redirection loop. If components do not use JoomSEF the protocol was not appended to the request_uri. Therefore I changed the code to something like this and it appears to resolve all my issues.  Thanks to everyone contributions to this SSL hack!!

Code:
if(strncmp($_SERVER['REQUEST_URI'], "http", 4) == 0){
$to_url = str_replace("https:","http:",$_SERVER['REQUEST_URI']);
}else{
$to_url = "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
}
Logged

beededea
Newbie
*
Posts: 13


« Reply #50 on: February 16, 2008, 12:26:35 PM »

Persistent HTTPS after checkout is most definitely a bug. You must be able to control whether the landing page after checkout completes is SSL persistent or not.

To this end I have made the changes set out in this post and in various others but to no effect whatsoever. I am stumped.

The reasons for wanting to leave an https page is that the joomla navigation menu may lead a client to a non SSL supported item such as google maps, embedded flash or suchlike. SSL encryption is such a pain to have when you don't need it. It slows the website to a crawl, can generate errors when absolute values for URLs are encountered and it is unecessary.

The majority of users use IE and IE can show the user all sorts of worrying messages when these issues are encountered.

Can one of the main Virtuemart coders come up with a definitive fix to this problem and a set of good instructions as to how to apply it. It seems to me that it could be done with a little application of the right sort of brain.

If you agree with this position please leave a post here in support.

Dean

Logged
beededea
Newbie
*
Posts: 13


« Reply #51 on: February 16, 2008, 14:06:49 PM »

The persistent SSL issue, I thought it was solved with 1.0.4? According to a note on the release page for 1.0.4, it was meant to have been fixed a long while ago. I think this is one for Soeren.

Dean
Logged
k9disc
Newbie
*
Posts: 19


« Reply #52 on: April 28, 2008, 13:38:58 PM »

All's well except for persistant https on my install...

i thought this would be fixed by now...

I've been out of shopping carts and online stores for over a year.

Hmmm...

I'll be watching for the fix...

Cheers,
Ron
Logged
joope
Newbie
*
Posts: 32


« Reply #53 on: January 24, 2009, 07:42:34 AM »

I'm wondering which index.php are you talking about.  I'm working on getting my SSL on my checkout and accounts only.   Right now I have it on the whole site which is something I don't want.

Can anyone tell me which index.php file to make these changes?  and where can I find it?

Thanks.
 virtuemart 1.1.3
Logged
jenkinhill
Global Moderator
Hero Member
*
Posts: 9763



WWW
« Reply #54 on: January 24, 2009, 10:39:29 AM »

This thread is about VirtueMart 1.0
Logged

Kelvyn
Jenkin Hill Internet,
Keswick, Lake District

Please do not PM or Email me with support questions. I look at PMs only once a month. You will get better and faster responses in the support forums.

Current recommended release versions are: Joomla! 1.5.23 :: VirtueMart 1.1.8

URGENT:  Help VirtueMart development by testing  version 1.1.9
joope
Newbie
*
Posts: 32


« Reply #55 on: January 24, 2009, 13:31:31 PM »

where is the thread for VM 1.1.3?
Logged
jenkinhill
Global Moderator
Hero Member
*
Posts: 9763



WWW
« Reply #56 on: January 24, 2009, 16:43:25 PM »

Start one. Smiley  The right section is http://forum.virtuemart.net/index.php?board=73.0

And don't forget to describe exactly the problem you are having and Joomla/VM versions and a live url.
Logged

Kelvyn
Jenkin Hill Internet,
Keswick, Lake District

Please do not PM or Email me with support questions. I look at PMs only once a month. You will get better and faster responses in the support forums.

Current recommended release versions are: Joomla! 1.5.23 :: VirtueMart 1.1.8

URGENT:  Help VirtueMart development by testing  version 1.1.9
Pages: 1 2 3 [4]   Go Up
Print
Jump to: