SSL Forums
 Home          Members          Who's On

Welcome Guest ( Login | Register )
        



GOAL: My main site will not be SSL protected... Expand / Collapse
Message
Posted 7/21/2008 9:43:48 PM Post #181
 

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie
GOAL: My main site will not be SSL protected - but my store will be SSL protected. On http://xxxx.com/index.html -I can place a link to- https://www.store.xxxx.com

I have a working OSC store at: xxxx.com/catalog/

the ftp path is: /xx/catalog/

As part of the OSC configuration- an .htaccess file resides inside the catalog folder.


I then had my host (1and1) install an SSL certificate.

But I don't want my whole site secure, only the "Store".

So I created a sub-domain "store.xxxx.com"

I created a ftp folder for store.xxxx.com at: /xx/catalog/

I had 1and1 assign the SSL Cert to the existing OS COMM "catalog" folder at /xx/catalog/

I created an .htaccess file that has this code:

RewriteEngine on
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$ https://store.xxxx.com /$1 [R]

Results:

If I place the .htaccess file on the top level: /xx/ (not in the catalog folder) I get: 500 Internal Server Error trying to access http://xxxx.com/index.html. As well trying to access , https://www.store.xxxx.com yields: Data Transfer Interrupted.

If I place the .htaccess file in /xx/catalog/ it would of overwrite the OSC .htaccess file.

I was told I had to include:

RewriteEngine on
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$ https://store.xxxx.com /$1 [R]

in the OSC .htaccess file- but I added it > uploaded it to /xx/catalog/ and could not access My Site or My Store.

Bottom line is, I’m not sure my setup is correct and don’t know if I can Mod_Rewrite my way out of this mess or if I need to start over with OSC or move some thing around or all of the above….any tips welcome
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -6:00, Time now is 10:00pm


SSL.com Knowledge Base. Copyright © 2003-2006