]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
https and http should both translate to http in the disqus identifier, so topics...
authorDaniel Gruno <humbedooh@apache.org>
Mon, 7 May 2012 12:56:08 +0000 (12:56 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Mon, 7 May 2012 12:56:08 +0000 (12:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1334994 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/remapping.html.en

index e6d65e379d95ffa395d56cc4e42f3c42c19fa0b7..3e89b11080572baf933afb0b8eca63ef7aef9939 100644 (file)
@@ -647,7 +647,7 @@ file, as well as in a &lt;Directory&gt; block.</p>
 to last beyond the testing phase of this system, nor do we in any way guarantee that we'll read them.</div><div id="disqus_thread" /><script type="text/javascript"><!--//--><![CDATA[//><!--
 var lang = 'en';
 var disqus_shortname = 'httpd';
-var disqus_identifier = window.location.href.replace(/(current|trunk)/, "2.4").replace(/\/[a-z]{2}\//, "/") + '.' + lang;
+var disqus_identifier = window.location.href.replace(/(current|trunk)/, "2.4").replace(/\/[a-z]{2}\//, "/").replace(window.location.protocol, "http:") + '.' + lang;
 if (disqus_identifier.indexOf("httpd.apache.org") != -1) {
     (function() {
                 var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;