Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Change whole folder from http to https |
|
Author |
|
SONIA-H
Joined: 17 Nov 2015 Posts: 2
|
Posted: Wed 18 Nov '15 22:38 Post subject: Change whole folder from http to https |
|
|
The checkout/onepage is working with https. But, why checkout/cart is not?
http://idfr.com/checkout/cart/
https://idfr.com/checkout/onepage/
Here is fragment of the .htaccess:
############################################
## enable rewrites
Options +FollowSymLinks
RewriteEngine on
# RewriteCond %{REQUEST_URI} checkout\/onepage
RewriteCond %{HTTPS} off
RewriteCond %{REQUEST_URI} checkout/
# RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
RewriteRule ^checkout/$ https://idfr.com/checkout/ [R=301,L]
############################################
- Apache version: Apache/2.4.7 (Ubuntu)
- operating system: Windows 8.1
- indications in the log files; Main ErrorLog: "/var/log/apache2/error.log" |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 26 Nov '15 19:09 Post subject: |
|
|
I would use
Code: |
<Location /checkout/>
SSLRequireSSL
</Directory>
|
|
|
Back to top |
|
SONIA-H
Joined: 17 Nov 2015 Posts: 2
|
Posted: Mon 30 Nov '15 20:09 Post subject: |
|
|
James Blond wrote: | I would use
Code: |
<Location /checkout/>
SSLRequireSSL
</Directory>
|
|
I called google team and they accepted the checkout/onepage is working with https, and our merchant account is finally have no suspension. Thank you for the answer.
Just curious, why does the code opening with "Location" and closing with "Directory"? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 01 Dec '15 15:10 Post subject: |
|
|
SONIA-H wrote: |
Just curious, why does the code opening with "Location" and closing with "Directory"? |
Typo it should be Location too |
|
Back to top |
|
|
|
|
|
|