Post by saltandp » Fri May 25, 2012 7:23 pm

Hey, how do I make my site secure, I am getting 74 warnings similar to below (changed domain to mydomain)

Code: Select all

The page at https://mydomain.com.au/Shop/ displayed insecure content from http://mydomain.com.au/Shop/catalog/view/theme/default/image/button-left.png.
My Code:

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'http://mydomain.com.au/Shop/admin/');
define('HTTP_CATALOG', 'http://mydomain.com.auShop/');
define('HTTP_IMAGE', 'http://mydomain.com.au/Shop/image/');

// HTTPS
define('HTTPS_SERVER', 'https://mydomain.com.au/Shop/admin/');
define('HTTPS_IMAGE', 'https://mydomain.com.au/Shop/image/');

// DIR
define('DIR_APPLICATION', '/home/myusername/public_html/Shop/admin/');
define('DIR_SYSTEM', '/home/myusername/public_html/Shop/system/');
define('DIR_DATABASE', '/home/myusername/public_html/Shop/system/database/');
define('DIR_LANGUAGE', '/home/myusername/public_html/Shop/admin/language/');
define('DIR_TEMPLATE', '/home/myusername/public_html/Shop/admin/view/template/');
define('DIR_CONFIG', '/home/myusername/public_html/Shop/system/config/');
define('DIR_IMAGE', '/home/myusername/public_html/Shop/image/');
define('DIR_CACHE', '/home/myusername/public_html/Shop/system/cache/');
define('DIR_DOWNLOAD', '/home/myusername/public_html/Shop/download/');
define('DIR_LOGS', '/home/myusername/public_html/Shop/system/logs/');
define('DIR_CATALOG', '/myusername/saltandp/public_html/Shop/catalog/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'myusername_shop');
define('DB_PASSWORD', 'mypassword');
define('DB_DATABASE', myusername_shop');
define('DB_PREFIX', '');
?>

Newbie

Posts

Joined
Tue Jan 31, 2012 10:39 pm

Post by saltandp » Fri Jun 01, 2012 11:46 am

How do I go about securing 3rd party scripts? I have some on my homepage, and are coming up as warnings when I "inspect elements" also as stated above am getting heaps of warning on my shop pages?

*Edit* Sorry ment to edit last post not make a new reply.

Newbie

Posts

Joined
Tue Jan 31, 2012 10:39 pm

Newbie

Posts

Joined
Tue Jan 31, 2012 10:39 pm
Who is online

Users browsing this forum: Amazon [Bot] and 38 guests