jamo32 Posted March 23, 2016 Posted March 23, 2016 Hi Using Bootstrap and cannot get the contact us page working when I try a test email, I do not get the email success page just mydomain.com/contact_us.php?action=send Using Bootstrap 8-)
burt Posted March 23, 2016 Posted March 23, 2016 That is some hacked up version of contact_us.php, or maybe you are trying to update from an older osCommerce and have done some parts and not others. Replace contact_us with the original version => https://raw.githubusercontent.com/gburton/Responsive-osCommerce/master/contact_us.php
jamo32 Posted March 23, 2016 Author Posted March 23, 2016 Hi Thanks Burt tried that still the same , I have ssl the whole of the site(running for cover lol) any ideas , do I need to recode for ssl? Using Bootstrap 8-)
burt Posted March 23, 2016 Posted March 23, 2016 Nothing wrong with running SSL full site, a lot of my clients do just that, and it is what Google prefer. You need to ensure that your configure files are set correctly -> both HTTPS and HTTP are set to use https
jamo32 Posted March 23, 2016 Author Posted March 23, 2016 Hi I have forced ssl through the htaccess , can you give me an example of how my configure file should look. Many Thanks Using Bootstrap 8-)
jamo32 Posted March 23, 2016 Author Posted March 23, 2016 Ok Thanks Burt I did what you said with the configure file and it worked. Only thing is with the forced ssl making it a pain to login in admin any advice would be a great help. Using Bootstrap 8-)
♥John W Posted March 23, 2016 Posted March 23, 2016 Your admin should ssl all the time anyway. What's kind of pain are you running into? If you try to go to a non ssl page that has Apache log in access protection it will ask for your credentials twice. Also, if you try and do that through a nonssl page your password is not safe. I'm not really a dog.
MrPhil Posted March 23, 2016 Posted March 23, 2016 Don't depend on .htaccess rewriting http to https. Correct your two configure.php files to specify https for both the HTTP* and the HTTPS* entries. Leave the http->https rewrite in .htaccess for the benefit of visitors who type in http instead of https. It may be that if you're depending on .htaccess rewrite, that the first (http) attempt is getting the login (password protected directory) request, and then the second (https) is going through it again. Having it https all the way should eliminate the first password request, if that's what's happening. Visitors (except for hackers) shouldn't be in the password-protected admin anyway.
jamo32 Posted March 23, 2016 Author Posted March 23, 2016 When trying to access my admins url getting https://mydomain.com/401.shtml Using Bootstrap 8-)
jamo32 Posted March 24, 2016 Author Posted March 24, 2016 Hi Sorry again was fixed by configure file, login fine now. Using Bootstrap 8-)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.