Post by hbg » Sun May 05, 2013 7:35 pm

Hi. Nearly 2 weeks ago, my SSL certificate expired (through GoDaddy). The info did not go through to my registrar, and my site is still down. Godaddy advised me to change a redirect on my subDomain, and that made tings worse, to the extent that my site was no longer functional. Today, it is back but without any images or menus. I am clearing the cache out, but I suspect that is not the issue,
http://www.homebrewinn.com.au
Last edited by hbg on Wed May 08, 2013 8:46 am, edited 2 times in total.

Opencart Version 1.5.1.3
https://www.opencart.homebrewinn.com.au/shop/


User avatar
hbg
Active Member

Posts

Joined
Wed Apr 13, 2011 8:52 am
Location - Newcastle NSW Australia

Post by victorj » Sun May 05, 2013 7:55 pm

it looks like url to shop in config files is not right so your shop still want to run under ssl.
would ot be mich simpeler to renwe your ssl certificate.
if not you will have to change config files somit redirect correct to your site.

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by hbg » Mon May 06, 2013 5:46 am

Hi, the SSL certificate has been renewed, but I had to obtain another key from Godaddy.

Opencart Version 1.5.1.3
https://www.opencart.homebrewinn.com.au/shop/


User avatar
hbg
Active Member

Posts

Joined
Wed Apr 13, 2011 8:52 am
Location - Newcastle NSW Australia

Post by hbg » Mon May 06, 2013 9:07 am

victorj wrote:it looks like url to shop in config files is not right so your shop still want to run under ssl.
would ot be mich simpeler to renwe your ssl certificate.
if not you will have to change config files somit redirect correct to your site.
Attached is one of the config files. I think I read somewhere else about changing localhost.

It's been over 12 months since I tinkered with Opencart, so things are a bit rusty.

Opencart Version 1.5.1.3
https://www.opencart.homebrewinn.com.au/shop/


User avatar
hbg
Active Member

Posts

Joined
Wed Apr 13, 2011 8:52 am
Location - Newcastle NSW Australia

Post by cwswebdesign » Mon May 06, 2013 9:11 am

Looks like you have a non www vs. www issue

https://www.sslshopper.com/ssl-checker. ... inn.com.au

Dl

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA

Post by hbg » Mon May 06, 2013 10:17 am

Thanks CWS. I did notice this before when I checked out the main website address in this sslshopper link, but the redirect comes up okay in the sslshopper link. Any ideas where to go from here? I might have to look in CPanel.

Opencart Version 1.5.1.3
https://www.opencart.homebrewinn.com.au/shop/


User avatar
hbg
Active Member

Posts

Joined
Wed Apr 13, 2011 8:52 am
Location - Newcastle NSW Australia

Post by cwswebdesign » Mon May 06, 2013 11:46 am

Actually, I didn't pay close enough attention to your URL to include the opencart sub domain. The ssl is actually configured properly.

https://www.sslshopper.com/ssl-checker. ... inn.com.au

To backtrack, both of your config files have been changed and you made the change in system settings to use SSL?

DL

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA

Post by hbg » Mon May 06, 2013 12:14 pm

The Config files should be okay, but I can't even login to Admin. I normally use an enhanced Dashboard, (which I have removed the XML file from VQmod/XML, as well as deleting all the files in the VQmod cache).

config.php
<?php
// HTTP
define('HTTP_SERVER', 'http://opencart.homebrewinn.com.au/shop/');
define('HTTP_IMAGE', 'http://opencart.homebrewinn.com.au/shop/image/');
define('HTTP_ADMIN', 'http://opencart.homebrewinn.com.au/shop/admin/');

//HTTPS
define('HTTPS_SERVER', 'https://opencart.homebrewinn.com.au/shop/');
define('HTTPS_IMAGE', 'https://opencart.homebrewinn.com.au/shop/image/');

admin/config.php
// HTTP
define('HTTP_SERVER', 'http://opencart.homebrewinn.com.au/shop/admin/');
define('HTTP_CATALOG', 'http://opencart.homebrewinn.com.au/shop/');
define('HTTP_IMAGE', 'http://opencart.homebrewinn.com.au/shop/image/');

// HTTPS
define('HTTPS_SERVER', 'https://opencart.homebrewinn.com.au/shop/admin/');
define('HTTPS_IMAGE', 'https://opencart.homebrewinn.com.au/shop/image/');

Opencart Version 1.5.1.3
https://www.opencart.homebrewinn.com.au/shop/


User avatar
hbg
Active Member

Posts

Joined
Wed Apr 13, 2011 8:52 am
Location - Newcastle NSW Australia

Post by cwswebdesign » Mon May 06, 2013 12:33 pm

You've got bigger issues going on that I really can't help solve without FTP access. If you'd like you can send your info to support@cwswebsitedesign.com and I'll take a look at it for you.

DL

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA

Post by hbg » Mon May 06, 2013 1:04 pm

Done.
I did notice the //HTTPS settings were slightly different. I removed the Admin, but that was worse.

Opencart Version 1.5.1.3
https://www.opencart.homebrewinn.com.au/shop/


User avatar
hbg
Active Member

Posts

Joined
Wed Apr 13, 2011 8:52 am
Location - Newcastle NSW Australia

Post by victorj » Mon May 06, 2013 11:09 pm

a question, why is your shop url hoembrewinn.com.au and the actual shop is in a subdir en then even in a sub folder of a subdir.
for with url did you renew your certificate?

if you put your shop just in root of site and regenerate your config files it just should work.

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by hbg » Tue May 07, 2013 10:02 am

victorj wrote:a question, why is your shop url hoembrewinn.com.au and the actual shop is in a subdir en then even in a sub folder of a subdir.
for with url did you renew your certificate?

if you put your shop just in root of site and regenerate your config files it just should work.
The original Domain is homebrewinn.com.au. The subdomain was originally setup, so it could be built correctly before going live (as I already had an existing website). It took initially @ 2 months to setup, and create most of the items.

The certificate is opencart.homebrewinn.com.au and as far as I know is standard

Opencart Version 1.5.1.3
https://www.opencart.homebrewinn.com.au/shop/


User avatar
hbg
Active Member

Posts

Joined
Wed Apr 13, 2011 8:52 am
Location - Newcastle NSW Australia

Post by deltaguns » Tue May 07, 2013 11:48 am

Your certificate is good. Only problem I see is this verify1st.com seal is using a unsecure image which breaks your padlock.

New member

Posts

Joined
Wed Apr 24, 2013 7:03 pm

Post by hbg » Wed May 08, 2013 8:48 am

Hi, the issue ended up being with one of the htaccess files. Many thanks to those people that helped out.

Opencart Version 1.5.1.3
https://www.opencart.homebrewinn.com.au/shop/


User avatar
hbg
Active Member

Posts

Joined
Wed Apr 13, 2011 8:52 am
Location - Newcastle NSW Australia

Post by hbg » Wed May 08, 2013 10:02 am

This was what was in the htaccess file (in the root).
I have highlighted a few interesting sections in Bold.

RewriteOptions inherit
RewriteEngine on

<Limit GET POST>
#The next line modified by DenyIP
order allow,deny
#The next line modified by DenyIP
#deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>

AuthName http://www.homebrewinn.com.au
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
ErrorDocument 404 /400.shtml

<Files 403.shtml>
order allow,deny
allow from all
</Files>
RewriteBase /opencart/
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://homebrewinn.com.au/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://homebrewinn.com.au$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.homebrewinn.com.au/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.homebrewinn.com.au$ [NC]
RewriteCond %{HTTP_REFERER} !^http://ozpost.net/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://ozpost.net$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

<IfModule mod_suphp.c>
suPHP_ConfigPath /home/homebrew
<Files php.ini>
order allow,deny
deny from all
</Files>
</IfModule>

deny from 94.99.81.246

RewriteCond %{HTTP_HOST} ^homebrewinn\.com\.au$ [OR]
RewriteCond %{HTTP_HOST} ^www\.homebrewinn\.com\.au$
RewriteRule ^/?$ "https\:\/\/opencart\.homebrewinn\.com\.au\/shop\/" [R=301,L]

Opencart Version 1.5.1.3
https://www.opencart.homebrewinn.com.au/shop/


User avatar
hbg
Active Member

Posts

Joined
Wed Apr 13, 2011 8:52 am
Location - Newcastle NSW Australia
Who is online

Users browsing this forum: No registered users and 227 guests