Joomla! Discussion Forums



It is currently Fri Nov 27, 2009 12:38 am (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
Posted: Thu Nov 05, 2009 5:54 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Tue Sep 15, 2009 10:09 pm
Posts: 1
I am using

Joomla 1.5.9
Virtuemart 1.1.2
sh404SEF

I am using .htaccess to force all URLs to https because I consistently had problems with my cart not passing items back and for from SSL. Also forcing www

$livesite is set to https://www.mydomain.com

I want to use .htaccess to redirect all requests to https EXCEPT for the homepage www.mydomain.com - leaving that http://www.mydomain.com

I have managed to get htaccess to do this, but then I get a 404 error presumably from $livesite being set to https

here is part of my htaccess
Code:
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.mydomain.com/$1 [R,L]

If I add this
Code:
RewriteCond %{HTTP_HOST} !^www\.mydomain\.com$ [NC]

It will go to http://www.mydomain.com but I get a 404 error (Joomla level, not server)

I need to do this because I have some linked content on the homepage (youtube) that causes errors on more secure machines and on blackberrys wont load at all because of https:


Top
  E-mail  
 
Posted: Tue Nov 10, 2009 3:13 pm 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Aug 05, 2009 1:42 pm
Posts: 488
Greetings jasonyohon:

Please consider upgrading to Joomla 1.5.15 as 1.5.9 is vulnerable to hacking.

Untested... I would recommend adding a trailing slash to your last rewrite statement.

Thank you.

_________________
Peter M. Abraham
http://www.dynamicnet.net/ - Dynamic Net, Inc. - in business since June 1995; a PCI Compliant, managed hosting provider.


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Quick reply

 



Who is online

Users browsing this forum: weby_gr and 43 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group