Forums / Basic Configuration / How can I force ALL of my admin pages to show in SSL?

How can I force ALL of my admin pages to show in SSL?

Locked

Started by matsounds on 30 Jul 2009, 12:00 PM · Views: 1,882

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
30 Jul 2009, 12:00 PM
#1
matsounds avatar

matsounds

New Zenner

Join Date:
Jul 2009
Posts:
19
Plugin Contributions:
0

How can I force ALL of my admin pages to show in SSL?

What do I need to change in order to force ALL of my admin pages to show securely in SSL?

Can anyone help? :smile:

And yes I changed the admin folder name and it does work. (Just some info :smile: )

30 Jul 2009, 12:12 PM
#2
aliepinieks avatar

aliepinieks

Zen Follower

Join Date:
Jun 2009
Location:
Brisbane, QLD AUS
Posts:
209
Plugin Contributions:
0

Re: How can I force ALL of my admin pages to show in SSL?

i'm not sure about doing it retrospectively, but it is an option during the initial setup of your store.
hopefully someone else here knows how, i suspect it is just a switch in one of the configure files.

andy

30 Jul 2009, 12:19 PM
#3
matsounds avatar

matsounds

New Zenner

Join Date:
Jul 2009
Posts:
19
Plugin Contributions:
0

Re: How can I force ALL of my admin pages to show in SSL?

One more note I did check the option(s) for SSL in my store setup. But unless I enter into my admin by e.g https://site.com/shopping/admin it will not stay in ssl mode some pages display in non-ssl mode and some do.

30 Jul 2009, 12:20 PM
#4
aliepinieks avatar

aliepinieks

Zen Follower

Join Date:
Jun 2009
Location:
Brisbane, QLD AUS
Posts:
209
Plugin Contributions:
0

Re: How can I force ALL of my admin pages to show in SSL?

wow, that's odd. i am sorry but i don't think i can help, good luck!

andy

30 Jul 2009, 1:53 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: How can I force ALL of my admin pages to show in SSL?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

30 Jul 2009, 11:16 PM
#6
matsounds avatar

matsounds

New Zenner

Join Date:
Jul 2009
Posts:
19
Plugin Contributions:
0

Re: How can I force ALL of my admin pages to show in SSL?

DrByte:

http://www.zen-cart.com/forum/showthread.php?t=125992

When I do what is says to do it gives me this error message

Parse error: parse error, unexpected $ in /home/content/m/a/t/USER_ACCOUNT_NAME/html/store/ADMIN_SECTION/includes/configure.php on line 88

Please note: The CAP words have been changed to protect my accounts.

Let me know what you think and how to fix this.

30 Jul 2009, 11:49 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: How can I force ALL of my admin pages to show in SSL?

That means you've likely edited the file incorrectly, perhaps deleting quotes or brackets or semicolons.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

31 Jul 2009, 12:06 AM
#8
matsounds avatar

matsounds

New Zenner

Join Date:
Jul 2009
Posts:
19
Plugin Contributions:
0

Re: How can I force ALL of my admin pages to show in SSL?

DrByte:

That means you've likely edited the file incorrectly, perhaps deleting quotes or brackets or semicolons.

There were no brackets or quotes just added them to show the code, but I did figure it out and it helps if I would have read some of the stuff in the configure.php file, here is what I found:

  • If you desire your entire admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'https://STORE_NAME.com/store');
    define('HTTPS_SERVER', 'https://STORE_NAME.com/store');
    define('HTTP_CATALOG_SERVER', 'https://STORE_NAME.com/store');
    define('HTTPS_CATALOG_SERVER', 'https://STORE_NAME.com/store');

You have to change ALL of them to point to you SSL Site for it to work.

So far so good, we'll see how it goes.

Thanks.