Page 1 of 1
Some images HTTPS some not...
Posted: Wed Dec 05, 2007 6:57 pm
by WarMace
I'm going to try my best to explain this one.
I'm tidying up the adding of content to my new CMSMS 1.1.3.1 server and the security certificate expired. Causing half of my photos to not show unless you accept the expired cert'.
I did not recall anywhere turning on HTTPS,
I want the site to be available to viewers without needing certificates.

I am accessing my server from across the LAN, and not locally fyi.
If I'm missing any critical troubleshooting info let me know, thank you.
Re: Some images HTTPS some not...
Posted: Thu Dec 06, 2007 2:00 pm
by WarMace
*Bump*
I'm still trying things on my end, and open to suggestions.
Re: Some images HTTPS some not...
Posted: Thu Dec 06, 2007 2:56 pm
by alby
WarMace wrote:
I'm going to try my best to explain this one.
I'm tidying up the adding of content to my new CMSMS 1.1.3.1 server and the security certificate expired. Causing half of my photos to not show unless you accept the expired cert'.
I did not recall anywhere turning on HTTPS,
I want the site to be available to viewers without needing certificates.

I am accessing my server from across the LAN, and not locally fyi.
If I'm missing any critical troubleshooting info let me know, thank you.
Check url path of your photo in DB, Have you insert in site via https?
Alby
Re: Some images HTTPS some not...
Posted: Thu Dec 06, 2007 5:06 pm
by WarMace
The path of the photo is
https://10.12.3.135/CMS/uploads/images/News/Subway.jpg
When I delete and re-add the photo it is always HTTPS and not HTTP like the old photos.
Re: Some images HTTPS some not...
Posted: Thu Dec 06, 2007 6:19 pm
by WarMace
If i manually add the photo, removing the 's' from 'https' it works. But why, by default, is the img unloader adding images as https all of a sudden I am wondering...
Re: Some images HTTPS some not...
Posted: Thu Dec 06, 2007 6:22 pm
by calguy1000
check your config.php for https
Re: Some images HTTPS some not...
Posted: Thu Dec 06, 2007 9:12 pm
by WarMace
calguy1000 wrote:
check your config.php for https
This is the only section with HTTPS
-----------
#Path Settings
#-------------
#Document root as seen from the webserver. No slash at the end
#If page is requested with https use https as root url
#e.g.
http://blah.com
$config['root_url'] = '
http://10.12.3.135/CMS';
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']=='on')
{
$config['root_url'] = str_replace('http','https',$config['root_url']);
}
#Path to document root. This should be the directory this file is in.
#e.g. /var/www/localhost
$config['root_path'] = 'C:\xampp\htdocs\cms';
#Name of the admin directory
$config['admin_dir'] = 'admin';
#Where do previews get stored temporarily? It defaults to tmp/cache.
$config['previews_path'] = 'C:\xampp\htdocs\cms\tmp\cache';
#Where are uploaded files put? This defaults to uploads.
$config['uploads_path'] = 'C:\xampp\htdocs\cms\uploads';
#Where is the url to this uploads directory?
$config['uploads_url'] = $config['root_url'] . '/uploads';
Re: Some images HTTPS some not...
Posted: Fri Dec 07, 2007 8:26 am
by alby
WarMace wrote:
This is the only section with HTTPS
What is your url address of admin area (look in browser)? There is https://............. ?
Alby
Re: Some images HTTPS some not...
Posted: Fri Dec 07, 2007 1:51 pm
by WarMace
The login page is http, but once you log in its https.
Re: Some images HTTPS some not...
Posted: Mon Dec 10, 2007 3:17 pm
by WarMace
So I am guessing this stems from the admin area being HTTPS, which is odd because none of my other sites use HTTPS in the admin area.
Where could this be disabled?