<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>运达&#039;s  blog &#187; SSL数字证书</title>
	<atom:link href="https://www.yunda51.com/?feed=rss2&#038;tag=ssl%E6%95%B0%E5%AD%97%E8%AF%81%E4%B9%A6" rel="self" type="application/rss+xml" />
	<link>https://www.yunda51.com</link>
	<description>运达的博客</description>
	<lastBuildDate>Wed, 12 Nov 2025 07:58:26 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.0.19</generator>
	<item>
		<title>php 判断http还是https，以及获得当前url的方法</title>
		<link>https://www.yunda51.com/?p=1746</link>
		<comments>https://www.yunda51.com/?p=1746#comments</comments>
		<pubDate>Fri, 17 Feb 2017 08:07:18 +0000</pubDate>
		<dc:creator><![CDATA[运达]]></dc:creator>
				<category><![CDATA[php技术]]></category>
		<category><![CDATA[http://]]></category>
		<category><![CDATA[https://]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[SSL数字证书]]></category>

		<guid isPermaLink="false">http://www.yunda51.com/?p=1746</guid>
		<description><![CDATA[服务器安装SSL数字证书访问URL地址是https，所以在无论是https://访问还是http://访问通行<a href="https://www.yunda51.com/?p=1746" class="read-more">Continue Reading</a>]]></description>
				<content:encoded><![CDATA[<p>服务器安装SSL数字证书访问URL地址是https，所以在无论是https://访问还是http://访问通行！</p>
<pre class="wp-code-highlight prettyprint">
$http_type = ((isset($_SERVER[&#039;HTTPS&#039;]) &amp;&amp; $_SERVER[&#039;HTTPS&#039;] == &#039;on&#039;) || (isset($_SERVER[&#039;HTTP_X_FORWARDED_PROTO&#039;]) &amp;&amp; $_SERVER[&#039;HTTP_X_FORWARDED_PROTO&#039;] == &#039;https&#039;)) ? &#039;https://&#039; : &#039;http://&#039;;  
echo $http_type . $_SERVER[&#039;HTTP_HOST&#039;] . $_SERVER[&#039;REQUEST_URI&#039;]; ?&gt;  
</pre>
]]></content:encoded>
			<wfw:commentRss>https://www.yunda51.com/?feed=rss2&#038;p=1746</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
