Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

htaccess & SSL


saminmt

Recommended Posts

I just changed .htaccess to redirect users from my http pages to the https pages with the following:

 

RewriteEngine on

#Options +FollowSymlinks

RewriteCond %{SERVER_PORT} ^80$

RewriteRule ^(.*) https://mydomain.com/$1 [R,L]

 

Now when I try to log on to mydomain/catalog/admin, I get an "invalid administrator login attempt" error message.

 

Any suggestions?

 

-sam in Montana

Link to comment
Share on other sites

the SSL http pages to the https pages is sorted out in

catalog\admin\includes\configure.php

and

catalog\includes\configure.php

Link to comment
Share on other sites

the SSL is sorted out in

catalog\admin\includes\configure.php

and

catalog\includes\configure.php

 

The problem is, I can't access admin from the website... is there another way?

-sam

Link to comment
Share on other sites

the SSL is sorted out in

catalog\admin\includes\configure.php

and

catalog\includes\configure.php

 

if the person want to secure the whole website, this can be done via .htaccess:

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule (.*) https://www.domian-name.com%{REQUEST_URI}

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

I just changed .htaccess to redirect users from my http pages to the https pages with the following:

 

RewriteEngine on

#Options +FollowSymlinks

RewriteCond %{SERVER_PORT} ^80$

RewriteRule ^(.*) https://mydomain.com/$1 [R,L]

 

Now when I try to log on to mydomain/catalog/admin, I get an "invalid administrator login attempt" error message.

 

Any suggestions?

 

-sam in Montana

Link to comment
Share on other sites

I just removed osCommerce and reinstalled it, thinking the best option would be to just start over. But I STILL cannot access the admin section, getting the same "invalid administrator login attempt" error message.

 

When I type in my username & password in the admin login, I get a SECURITY WARNING that I didn't get earlier:

"although this page is encrypted, the information... will be sent over an unencrypted connection... easily read by third party"

 

I removed the redirect code in .htaccess

 

When I installed osCommerce, I answered YES to the question about SSL, and gave www.mydomain.com as the https:// address...

 

should I have answered NO? and then set it up from within the admin panel?

 

-sam

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...