<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Http on Marco Gabriel Blog</title>
    <link>https://www.marcogabriel.com/tags/http/</link>
    <description>Recent content in Http on Marco Gabriel Blog</description>
    <image>
      <title>Marco Gabriel Blog</title>
      <url>https://www.marcogabriel.com/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://www.marcogabriel.com/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sat, 27 Dec 2014 23:59:46 +0100</lastBuildDate>
    <atom:link href="https://www.marcogabriel.com/tags/http/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>site_url in Modx Revo</title>
      <link>https://www.marcogabriel.com/posts/646-site_url-in-modx-revo/</link>
      <pubDate>Sat, 27 Dec 2014 23:59:46 +0100</pubDate>
      <guid>https://www.marcogabriel.com/posts/646-site_url-in-modx-revo/</guid>
      <description>&lt;p&gt;Neulich stellte ich eine Modx Revo Seite von http auf https um. Allerdings hatte ich danach damit zu kämpfen, dass in der Base URL mal &lt;code&gt;http://&lt;/code&gt; und mal &lt;code&gt;https://&lt;/code&gt; Links auftauchten. Da Modx die &lt;code&gt;[[++base_url]]&lt;/code&gt; selbst ermittelt, kam dann je nach erstem Abruf entweder ein http oder https zum Zug.&lt;/p&gt;
&lt;p&gt;Im Modx Forum habe ich eine &lt;a href=&#34;http://forums.modx.com/thread/31534/revolution-solved-quick-question-standard-way-to-retrieve-the-base-url&#34;&gt;Lösung&lt;/a&gt; dazu gefunden: &lt;code&gt;[[!++site_url]]&lt;/code&gt; verwenden und diese im verwendeten Kontext einfach festschreiben. Danach sollten alle Links sauber sein.&lt;/p&gt;</description>
    </item>
    <item>
      <title>http error 404, star wars style...</title>
      <link>https://www.marcogabriel.com/posts/609-http-error-404-star-wars-style.../</link>
      <pubDate>Sun, 10 Feb 2013 03:48:22 +0100</pubDate>
      <guid>https://www.marcogabriel.com/posts/609-http-error-404-star-wars-style.../</guid>
      <description>&lt;p&gt;http error 404, star wars style&amp;hellip;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://github.com/peteralaoui/django-taggit-live/tree/master/taggit_live&#34;&gt;https://github.com/peteralaoui/django-taggit-live/tree/master/taggit_live&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Apache2 Redirect für nicht existierende Seiten</title>
      <link>https://www.marcogabriel.com/posts/311-apache2-redirect-fuer-nicht-existierende-seiten/</link>
      <pubDate>Mon, 31 Jul 2006 10:49:34 +0200</pubDate>
      <guid>https://www.marcogabriel.com/posts/311-apache2-redirect-fuer-nicht-existierende-seiten/</guid>
      <description>&lt;p&gt;Wer über Jahre hinweg Websites betreut wird früher oder später auch dazu kommen, daß externe Links auf Seiten verweisen, die nicht mehr existieren.&lt;/p&gt;
&lt;p&gt;Je nach dem wie man den Eintrag für 404 Seiten in der apache.conf hinterlegt gibt Apache2 dann sogar (anfangs verwirrende) verschiedene Statuscodes zurück:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ErrorDocument 404 /relativer/link/zur/404-erklaerung.html
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;ergibt einen 404 (not found)&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ErrorDocument 404 http://mein.host/404-erklaerung.html```

liefert einen 302 (document moved)

Was nun für die eigene Site sinnvoller ist, muss man von Fall zu Fall entscheiden.
&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
  </channel>
</rss>
