<rss version="2.0">
		<channel>
			<title>Plogger Support Forum - HTTPS Support</title>
			<lastBuildDate>Sat, 14 Mar 2026 05:58:09 +0000</lastBuildDate>
			<link>http://www.plogger.org/forum/</link>
			<description></description>
			<generator>Lussumo Vanilla 1.1.10</generator>
			<item>
		<title>HTTPS Support</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=2069#Comment_2069</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=2069#Comment_2069</guid>
		<pubDate>Thu, 09 Feb 2006 00:06:35 +0000</pubDate>
		<author>mike</author>
		<description>
			<![CDATA[Try this:  Edit plog-load_config.php on line 16:<br /><br /><code ><br />$config[&quot;baseurl&quot;] = &quot;http://&quot;.$_SERVER[&quot;SERVER_NAME&quot;]. substr($_SERVER[&quot;PHP_SELF&quot;],0,strrpos($_SERVER[&quot;PHP_SELF&quot;],&quot;/&quot;)) . &quot;/&quot;;</code><br /><br />Replace "http://" with "https://".]]>
		</description>
	</item>
	<item>
		<title>HTTPS Support</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14397#Comment_14397</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14397#Comment_14397</guid>
		<pubDate>Tue, 07 Feb 2017 15:31:47 +0000</pubDate>
		<author>xiphias</author>
		<description>
			<![CDATA[I've altered the the plog-admin/plog-options.php to support an https URL, now if you entered https://www.domain.ext the gallery_url was changed to http://https://www.domain.ext<br /><br />Alter the test around line 25 and change to:<br /><code >	// Verify that the gallery URL begins with 'http://' for mod_rewrite 301 redirects<br />	if (strpos($_POST['gallery_url'], 'http://') === false &amp;&amp; strpos($_POST['gallery_url'], 'https://') === false)<br />	{<br />		$_POST['gallery_url'] = 'http'.($_SERVER['HTTPS'] ? 's' : '').'://'.$_POST['gallery_url'];<br />	}</code><br /><br />Also altered plog-load-config.php with a simular code to support both http and https requests. In 3 places I altered the code mentioned by mike to:<br />$config['baseurl'] = 'http'.($_SERVER['HTTPS'] ? 's' : '').'://'.$_SERVER['HTTP_HOST'].substr($_SERVER['PHP_SELF'], 0, strrpos($_SERVER['PHP_SELF'], '/')).'/';<br /><br />I did this on lines 66, 87 and 101 (in my version)<br /><br />-XiP]]>
		</description>
	</item>
	<item>
		<title>HTTPS Support</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14413#Comment_14413</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14413#Comment_14413</guid>
		<pubDate>Thu, 13 Apr 2017 10:50:57 +0000</pubDate>
		<author>Niamh Holding</author>
		<description>
			<![CDATA[Will that solve the issues as at<br /><a href="https://photos.niamh.org.uk/index.php" >https://photos.niamh.org.uk/index.php</a><br />compared to<br /><a href="http://photos.niamh.org.uk/index.php" >http://photos.niamh.org.uk/index.php</a>]]>
		</description>
	</item>
	<item>
		<title>HTTPS Support</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14414#Comment_14414</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14414#Comment_14414</guid>
		<pubDate>Sat, 15 Apr 2017 00:13:14 +0000</pubDate>
		<author>xiphias</author>
		<description>
			<![CDATA[With no further server details it looks like your host had a seperate SSL webroot. I've had a host that dit that in the past.<br />http_docs and https_docs. So in that case http and https are 2 completely different site.<br /><br />-XiP]]>
		</description>
	</item>
	<item>
		<title>HTTPS Support</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14417#Comment_14417</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14417#Comment_14417</guid>
		<pubDate>Sat, 15 Apr 2017 07:20:54 +0000</pubDate>
		<author>Niamh Holding</author>
		<description>
			<![CDATA[Same data for both-<br /><br /><ifmodule ><br /><virtualhost ><br />       ServerName photos.niamh.org.uk<br />       ServerAdmin niamh@holtain.net<br />       DocumentRoot /var/www/html/photos.niamh.org.uk<br />       ScriptAlias /cgi-bin/ /var/www/cgi-bin/<br />       ErrorLog /etc/httpd/logs/virtual-errors.log<br />       CustomLog /etc/httpd/logs/virtual-access.log combined<br />       <directory ><br />        AllowOverride Options AuthConfig<br />       </directory><br />SSLCertificateFile /etc/getssl/holtain.net/holtain.net.crt<br />SSLCertificateKeyFile /etc/getssl/holtain.net/holtain.net.key<br />Include /etc/letsencrypt/options-ssl-apache.conf<br />SSLCertificateChainFile /etc/getssl/holtain.net/chain.crt<br /></virtualhost><br /></ifmodule>]]>
		</description>
	</item>
	<item>
		<title>HTTPS Support</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14418#Comment_14418</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14418#Comment_14418</guid>
		<pubDate>Mon, 17 Apr 2017 13:13:32 +0000</pubDate>
		<author>Niamh Holding</author>
		<description>
			<![CDATA[https-<br /><img src="http://www.niamh.org.uk/https-photos.niamh.org.uk.jpg" alt="https" /><br />http-<br /><img src="http://www.niamh.org.uk/http-photos.niamh.org.uk.png" alt="http" />]]>
		</description>
	</item>
	<item>
		<title>HTTPS Support</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14419#Comment_14419</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14419#Comment_14419</guid>
		<pubDate>Tue, 18 Apr 2017 15:24:20 +0000</pubDate>
		<author>xiphias</author>
		<description>
			<![CDATA[OK, this looks better. Before I saw nothing on HTTPS.<br /><br />The problem you have now is that all links link to http:// including your CSS and JavaScript. This is unsecure and most browsers will not load these files and that's why the styling is "gone".<br /><img src="https://xiphias.photography/_forums/plogger/niamh.png" alt="HTTP links" /><br /><br />When I change the JS and CSS to HTTPS in the inspector the gallery works fine.<br /><img src="https://xiphias.photography/_forums/plogger/niamh2.png" alt="HTTP to HTTPS" /><br /><br />Also notice that in the above screenshot the site is loaded via HTTPS but it has an exclamation mark infront of the URL, this indicates an "issue".<br /><br />The fix I mentioned above should fix that.<br /><br />When it's fixed it should look like this:<br /><img src="https://xiphias.photography/_forums/plogger/dgp-secure.png" alt="Plogger secure" /><br /><br />Let me know if this helped.<br /><br />-XiP]]>
		</description>
	</item>
	<item>
		<title>HTTPS Support</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14420#Comment_14420</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14420#Comment_14420</guid>
		<pubDate>Thu, 20 Apr 2017 05:48:24 +0000</pubDate>
		<author>Niamh Holding</author>
		<description>
			<![CDATA[OK but index.php only containds the following so I guess I need to find which file the function the_plogger_head is in-<br /><br />&lt;?php require('plogger.php'); ?><br /><br />" lang="&lt;?php echo $language; ?>" xmlns="http://www.w3.org/1999/xhtml"><br /><br />&lt;?php the_plogger_head(); ?><br /><br /><br /><br /><br />&lt;?php the_plogger_gallery(); ?><br /><br /><br />]]>
		</description>
	</item>
	<item>
		<title>HTTPS Support</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14421#Comment_14421</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14421#Comment_14421</guid>
		<pubDate>Thu, 20 Apr 2017 08:09:41 +0000</pubDate>
		<author>Niamh Holding</author>
		<description>
			<![CDATA[OK... plogger.php contains the function-<br /><br />function the_plogger_head() {<br />	plogger_head();<br /><br />	$use_file = 'head.php';<br />	if (file_exists(THEME_DIR.'/'.$use_file)) {<br />		include(THEME_DIR.'/'.$use_file);<br />	} else {<br />		include(PLOGGER_DIR.'plog-content/themes/default/'.$use_file);<br />	}<br />}]]>
		</description>
	</item>
	<item>
		<title>HTTPS Support</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14422#Comment_14422</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14422#Comment_14422</guid>
		<pubDate>Thu, 20 Apr 2017 08:31:05 +0000</pubDate>
		<author>Niamh Holding</author>
		<description>
			<![CDATA[And head.php is_<br /><br />&lt;?php echo plogger_generate_seo_meta_tags();?><br />	gallery.css" /><br />	dynamics.js"><br /><br />So it seems now I'm pooking for where THEME_URL indefined...]]>
		</description>
	</item>
	<item>
		<title>HTTPS Support</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14423#Comment_14423</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14423#Comment_14423</guid>
		<pubDate>Thu, 20 Apr 2017 09:39:16 +0000</pubDate>
		<author>Niamh Holding</author>
		<description>
			<![CDATA[So, at last could it be that what needs changing is this section of plog-load-config.php?<br /><br />// if mod_rewrite is on and we're not embedded, remove the file basename<br />if ($config['use_mod_rewrite'] == 1 && $config['embedded'] == 0) {<br />	$config['baseurl'] = 'http://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']).'/';<br />// otherwise just use our cleaned up version of $_SERVER['PHP_SELF'] from plog-globals.php<br />} else {<br />	$config['baseurl'] = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'];<br />}]]>
		</description>
	</item>
	<item>
		<title>HTTPS Support</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14424#Comment_14424</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14424#Comment_14424</guid>
		<pubDate>Mon, 22 May 2017 08:34:19 +0000</pubDate>
		<author>xiphias</author>
		<description>
			<![CDATA[Try editing plog-admin/plog-options.php like I mentiond above. Should work fine after that.]]>
		</description>
	</item>
	<item>
		<title>HTTPS Support</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14438#Comment_14438</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14438#Comment_14438</guid>
		<pubDate>Sat, 08 Dec 2018 12:29:44 +0000</pubDate>
		<author>joemolloy</author>
		<description>
			<![CDATA[I was glad to see this post as I have last week added SSL to my website. Up to then Plogger has been behaving well and updates to my gallery have been great.<br /><br />Enter SSL and now the Plogger Gallery renders in much the same way encountered by Niamh last year. What is not clear is if Niamh got the desired result? I have tried to follow xiphias guidance but not getting a successful outcome.<br /><br />Although I have been advised to move to a newer gallery, suitable for a Wordpress update on the website, I hope to resolve the problem with Plogger in place, purely to save having to rebuild a gallery with 1600 images, which I guess will take 2 or 3 weeks effort.<br /><br />Niamh, are you still on board with Plogger?]]>
		</description>
	</item>
	<item>
		<title>HTTPS Support</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14439#Comment_14439</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14439#Comment_14439</guid>
		<pubDate>Fri, 08 Feb 2019 10:28:16 +0000</pubDate>
		<author>xiphias</author>
		<description>
			<![CDATA[What issues are you having? All my plogger galleries run fine in SSL. What is the URL?<br /><br /><br />Also trying to move away from plogger but there is no other gallery that works as great as plogger does with large volume of images.<br />My largest plogger albums:<br />Gallery Stats: You have 12 collections, which contain 61 albums and 6526 images. Users have posted comments to your gallery.<br />Gallery Stats: You have 11 collections, which contain 323 albums and 12448 images. Users have posted comments to your gallery.<br /><br />Most other galleries I found don't have a good batch mode, don't read EXIF, don't support FTP upload/processing.<br />I go out, shoot a 1000 pictures, upload 200 of them and online in minutes. Other galleries take forever.<br /><br />-XiP]]>
		</description>
	</item>
	<item>
		<title>HTTPS Support</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14441#Comment_14441</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14441#Comment_14441</guid>
		<pubDate>Sun, 10 Feb 2019 14:53:04 +0000</pubDate>
		<author>joemolloy</author>
		<description>
			<![CDATA[Hi Xip, thanks for your contact. Sorry for delay getting back to you, been dozing. I got word from Niamh after my post December 8th, she did not make progress and stuck with her old site and did not adopt https. My issue is probably minor.<br /><br />I agree totally that other packages lack the features you mention.<br /><br />My galleries are now accessed through the Wordpress page:<br />https://narpo-staffs.co.uk/discover/gallery/<br /><br />Then there is a table with links to different collections.<br /><br />It is only at that point where I hoped the view would be different.<br /><br />Click on a link (excuse use of label Download) for example Download the Northern Sub Branch Gallery; and the page opens https://www.narpo-staffs.co.uk/photo_gallery/index.php?level=collection&amp;id=12<br /><br />The thumbnail and links go to the albums in list form. Prior to adopting https at this level the thumbnails were in a table. As would be rendered at the next level, e.g. www.narpo-staffs.co.uk/photo_gallery/index.php?level=album&amp;id=22.<br /><br />My preference would be for https://www.narpo-staffs.co.uk/photo_gallery/index.php?level=collection&amp;id=12 to be in a table layout.<br /><br />After that all seems well.<br /><br />Joe]]>
		</description>
	</item>
	<item>
		<title>HTTPS Support</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14442#Comment_14442</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14442#Comment_14442</guid>
		<pubDate>Wed, 13 Feb 2019 08:25:34 +0000</pubDate>
		<author>xiphias</author>
		<description>
			<![CDATA[Hi Joe,<br /><br />Sorry for the late reply, I thought I had replied monday but I guess I didn't hit the post button.<br /><br />See scroonshots above, your site has the same issue, CSS and JS not loaded via https but http, also notice that you have an exclamation mark in the address bar stating site is not save.<br /><br />I'll try and find where I changed that. I think I was doing this while typing the message on monday and forgot to submit.<br /><br />-XiP]]>
		</description>
	</item>
	<item>
		<title>HTTPS Support</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14443#Comment_14443</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14443#Comment_14443</guid>
		<pubDate>Wed, 13 Feb 2019 08:37:43 +0000</pubDate>
		<author>xiphias</author>
		<description>
			<![CDATA[Ok Joe,<br /><br />Ok, I think I found it. Really simpel, check your Options in Plog-admin.<br />Gallery URL should have http<strong >s</strong>:// url there. Should fix it.<br /><br />-XiP]]>
		</description>
	</item>
	<item>
		<title>HTTPS Support</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14444#Comment_14444</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=419&amp;Focus=14444#Comment_14444</guid>
		<pubDate>Tue, 26 Feb 2019 19:56:19 +0000</pubDate>
		<author>joemolloy</author>
		<description>
			<![CDATA[Hi XiP,<br /><br />many thanks for taking the time to respond. I have been away for a while and catching up. Then I've done something similar to you, having penned a detailed update on what I've done, lost it at send stage. I really need to get in a habit of drafting in notepad then pasting to the boards, before I get timed out.<br /><br />However, on the plus side, you are now spared the weeds of what I tried to explain, including excerpts from my code to illustrate (I think) my code is as you suggested, but the preferred results are not being achieved.<br /><br />Files plog-load-config.php and plog-options.php seem to have the correct code amendments.<br /><br />As the issue is minor, I will leave it as it is, but grateful for your guidance.<br /><br />Joe.]]>
		</description>
	</item>
	
		</channel>
	</rss>