<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>:: handcode.de :: - Apache</title>
    <link>http://www.handcode.de/blog/</link>
    <description>Jens sein blog</description>
    <dc:language>de</dc:language>
    <generator>Serendipity 1.5.3 - http://www.s9y.org/</generator>
    <pubDate>Tue, 20 Jul 2010 07:26:31 GMT</pubDate>

    <image>
        <url>http://www.handcode.de/images/logos/hc-144x22.png</url>
        <title>RSS: :: handcode.de :: - Apache - Jens sein blog</title>
        <link>http://www.handcode.de/blog/</link>
        <width>144</width>
        <height>22</height>
    </image>

<item>
    <title>Vortrag &quot;Apache Konfiguration&quot; online</title>
    <link>http://www.handcode.de/blog/archives/121-Vortrag-Apache-Konfiguration-online.html</link>
            <category>Apache</category>
            <category>PHPUG</category>
    
    <comments>http://www.handcode.de/blog/archives/121-Vortrag-Apache-Konfiguration-online.html#comments</comments>
    <wfw:comment>http://www.handcode.de/blog/wfwcomment.php?cid=121</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.handcode.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=121</wfw:commentRss>
    

    <author>nospam@example.com (Jens Giessmann)</author>
    <content:encoded>
    Mein Vortrag &quot;&lt;a href=&quot;http://www.handcode.de/talks/phpug-apache-201007/&quot; title=&quot;zu den Slides&quot;&gt;Apache Konfiguration&lt;/a&gt;&quot;  bei dem ich versucht habe zu vermitteln &quot;Warum ein Apache tut was er tut und wie man ihn dazu bringt auch das zu tun was man will&quot; beim &lt;a href=&quot;http://www.phpugs.de/archives/124-Treffen-07.2010,-Vortrag-Apache-Konfiguration.html&quot;&gt;Treffen der PHPUG Stuttgart am 14.07.2010&lt;/a&gt; ist online.&lt;br /&gt;
&lt;br /&gt;
&lt;!-- s9ymdb:14 --&gt;&lt;a href=&quot;http://www.handcode.de/talks/phpug-apache-201007/&quot; title=&quot;zum Vortrag&quot;&gt;&lt;img class=&quot;serendipity_image_left&quot; width=&quot;110&quot; height=&quot;72&quot;  src=&quot;http://www.handcode.de/blog/uploads/talks/session-apache-conf-201007.serendipityThumb.png&quot; title=&quot;zu den slides&quot; alt=&quot;slides screenshot&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://www.handcode.de/talks/phpug-apache-201007/&quot; title=&quot;zum Vortrag&quot;&gt;Hier lang zum Vortrag.&lt;/a&gt;&lt;br/&gt;(Navigieren in den slides mit Space,Pfeilen usw.) &lt;br /&gt;
&lt;br /&gt;
Ein besonderen Dank auch noch mal an Harald Amelung vom &lt;a href=&quot;http://coworking-stuttgart.de/&quot; title=&quot;http://coworking-stuttgart.de/&quot;&gt;Coworking0711&lt;/a&gt; für die Möglichkeit jetzt dort unsere Vorträge halten zu können. Wir kommen gerne wieder!&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 20 Jul 2010 09:02:36 +0200</pubDate>
    <guid isPermaLink="false">http://www.handcode.de/blog/archives/121-guid.html</guid>
    <category>apache</category>
<category>config</category>
<category>performance</category>
<category>php</category>
<category>phpug</category>
<category>treffen</category>
<category>vortrag</category>
<category>web</category>
<category>webserver</category>

</item>
<item>
    <title>Denic macht .de Domains platt</title>
    <link>http://www.handcode.de/blog/archives/118-Denic-macht-.de-Domains-platt.html</link>
            <category>Allerlei</category>
            <category>Apache</category>
            <category>Webdev</category>
    
    <comments>http://www.handcode.de/blog/archives/118-Denic-macht-.de-Domains-platt.html#comments</comments>
    <wfw:comment>http://www.handcode.de/blog/wfwcomment.php?cid=118</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.handcode.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=118</wfw:commentRss>
    

    <author>nospam@example.com (Jens Giessmann)</author>
    <content:encoded>
    Aktuell hat es die DENIC wie auch immer geschafft, dass .de Domains praktisch weltweit nicht mehr auflösbar sind.&lt;br /&gt;
&lt;br /&gt;
Also Finger weg von Services, nix restarten! &lt;br /&gt;
Solange ein Service z.B. ein Webserver die Domain-Auflösungen z.B. von NameVirtualHosts noch im Cache hat, läuft es immerhin noch.&lt;br /&gt;
Das wird bestimmt sehr lustig für uns arme Admins nach und nach alle möglichen Services mit komischen Effekten wieder zusammen zu flicken...&lt;br /&gt;
&lt;br /&gt;
Wer zahlt das? Ich will nen Rettungsfond!&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;update&lt;/strong&gt;: Die Denic hat die kaputten Nameserver wieder zusammen geflickt.&lt;br /&gt;
Passend dazu hier ein heise-Artikel vom Januar: &quot;&lt;a href=&quot;http://www.heise.de/netze/meldung/DNSsec-koennte-de-Zone-lahmlegen-915302.html&quot; title=&quot;zum heise Artikel&quot;&gt;DNSsec könnte de-Zone lahmlegen&lt;/a&gt;&quot;.&lt;br /&gt;
Test war erfolgreich, lahmlegen klappt...&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;update&lt;/strong&gt;: Auf denic gibt es jetzt auch &lt;a href=&quot;http://www.denic.de/typo3temp/pics/i_64bbbffdb3.jpg&quot; title=&quot;Bildhafte erklaerung des ausfalls&quot;&gt;eine offizielle Erklärung zum Ausfall&lt;/a&gt;... 
    </content:encoded>

    <pubDate>Wed, 12 May 2010 14:40:03 +0200</pubDate>
    <guid isPermaLink="false">http://www.handcode.de/blog/archives/118-guid.html</guid>
    <category>absurdes</category>
<category>allerlei</category>
<category>apache</category>
<category>denic</category>
<category>dns</category>
<category>webdev</category>

</item>
<item>
    <title>Slides vom PHPUG Vortrag mod_rewrite online</title>
    <link>http://www.handcode.de/blog/archives/50-Slides-vom-PHPUG-Vortrag-mod_rewrite-online.html</link>
            <category>Apache</category>
            <category>PHPUG</category>
    
    <comments>http://www.handcode.de/blog/archives/50-Slides-vom-PHPUG-Vortrag-mod_rewrite-online.html#comments</comments>
    <wfw:comment>http://www.handcode.de/blog/wfwcomment.php?cid=50</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.handcode.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=50</wfw:commentRss>
    

    <author>nospam@example.com (Jens Giessmann)</author>
    <content:encoded>
    Die Slides &lt;a href=&quot;http://www.handcode.de/blog/archives/49-PHP-User-Group-Stuttgart-Treffen,-Maerz-2007.html&quot; title=&quot;http://www.handcode.de/blog/archives/49-PHP-User-Group-Stuttgart-Treffen,-Maerz-2007.html&quot;&gt;meines Vortrags&lt;/a&gt; gestern bei der PHPUG-Stuttgart sind online.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Thema: mod_rewrite&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.handcode.de/talks/phpug-mod_rewrite-20080312/&quot;  title=&quot;Vortrag: mod_rewrite&quot;&gt;Zum Vortrag:&lt;br /&gt;
http://www.handcode.de/talks/phpug-php5-xml-xsl-200708/&lt;br /&gt;
&lt;/a&gt; 
    </content:encoded>

    <pubDate>Thu, 13 Mar 2008 10:55:21 +0100</pubDate>
    <guid isPermaLink="false">http://www.handcode.de/blog/archives/50-guid.html</guid>
    <category>apache</category>
<category>php</category>
<category>phpug</category>
<category>vortrag</category>

</item>
<item>
    <title>PHP User Group Stuttgart Treffen, März 2008</title>
    <link>http://www.handcode.de/blog/archives/49-PHP-User-Group-Stuttgart-Treffen,-Maerz-2008.html</link>
            <category>Apache</category>
            <category>PHPUG</category>
    
    <comments>http://www.handcode.de/blog/archives/49-PHP-User-Group-Stuttgart-Treffen,-Maerz-2008.html#comments</comments>
    <wfw:comment>http://www.handcode.de/blog/wfwcomment.php?cid=49</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.handcode.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=49</wfw:commentRss>
    

    <author>nospam@example.com (Jens Giessmann)</author>
    <content:encoded>
    Wie jeden 2. Mittwoch im Monat trifft sich die PHP User Group Stuttgart auch im März wieder zu einem Vortrag und anschliessendem gemütlichen Beisammensein.&lt;br /&gt;
&lt;br /&gt;
Nächstes mal werde ich mal wieder einen Vortrag halten.&lt;br /&gt;
&lt;br /&gt;
PHP-UG Stuttgart Treffen am 12.03.2008, 19:00&lt;br /&gt;
&lt;br /&gt;
Vortrag:&lt;br /&gt;
----------------------------------------------------------------------&lt;br /&gt;
mod_rewrite, das Schweizer Taschenmesser der URL Manipulation.&lt;br /&gt;
----------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Mit dem Apache-Modul mod_rewrite ist es möglich, basierend auf einem Parser für reguläre Ausdrücke, angeforderte URLs anhand von Regeln &quot;on the fly&quot; umzuschreiben.&lt;br /&gt;
&lt;br /&gt;
Themen des Vortrages sind:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Was ist mod_rewrite&lt;/li&gt;
&lt;li&gt;Überblick über die Arbeitsweise von mod_rewrite&lt;/li&gt;
&lt;li&gt;Beispiele für den Einsatz von mod_rewrite&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
Eingeladen ist wie immer jeder Interessierte, besonders PHPler aus Stuttgart.&lt;br /&gt;
&lt;br /&gt;
Termin: Mittwoch, den 12. März 2008, 19.00 Uhr&lt;br /&gt;
Ort: Wirtschaftförderung Region Stuttgart, Friedrichsstr. 10, Stuttgart&lt;br /&gt;
Weitere Informationen wie immer auch auf auf &lt;a href=&quot;http://www.phpugs.de/treffen/treffen-details/article/mod-rewrite-das-schweizer-taschenmesser-der-url-manipulation&quot; title=&quot;http://www.phpugs.de&quot; target=&quot;_blank&quot;&gt;http://www.phpugs.de&lt;/a&gt;&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 04 Mar 2008 09:06:26 +0100</pubDate>
    <guid isPermaLink="false">http://www.handcode.de/blog/archives/49-guid.html</guid>
    <category>apache</category>
<category>php</category>
<category>phpug</category>
<category>vortrag</category>

</item>
<item>
    <title>Referrer-Spam blocken mit Apache und mod_rewrite</title>
    <link>http://www.handcode.de/blog/archives/24-Referrer-Spam-blocken-mit-Apache-und-mod_rewrite.html</link>
            <category>Apache</category>
    
    <comments>http://www.handcode.de/blog/archives/24-Referrer-Spam-blocken-mit-Apache-und-mod_rewrite.html#comments</comments>
    <wfw:comment>http://www.handcode.de/blog/wfwcomment.php?cid=24</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://www.handcode.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=24</wfw:commentRss>
    

    <author>nospam@example.com (Jens Giessmann)</author>
    <content:encoded>
    Immer wieder werden Webserver mit Referrer-Spam Anfragen zugeballert, die wegen wechselnder IPs aber nicht so ohne weiteres in der Firewall geblockt werden können.&lt;br /&gt;
Der eigentliche Sinn eines solchen Angriffs besteht darin, in Referrer-Statistiken möglichst weit nach oben zu klettern.&lt;br /&gt;
&lt;br /&gt;
Und wozu das?&lt;br /&gt;
&lt;br /&gt;
Das primärer Ziel ist die Anzeige des Referrers als Link, z.B. auf Seiten, welche die Top-Referrer anzeigen, entweder um das Suchmaschinen-Ranking zu steigern, oder ganz banal, um Menschen auf die Seiten des Angreifers zu locken, damit diese dort irgendwelchen Kram kaufen. Nunja.&lt;br /&gt;
Ein weiteres Ziel des Angreifers ist möglicherweise auch, dass jemand, der auf den Link des Referrers klickt, sich auf den Zielseiten Schadprogramme, XSS Hacks (spannend wenn der User Admin-Rechte hat) oder ähnliche mehr oder weniger kreative Bösartigkeiten einfängt. &lt;br /&gt;
Daher ist auch beim Anschauen von Webserver-Stats (Webalizer o.ä.) Vorsicht geboten! Nicht einfach überall drauf klicken! Nur so als Hinweis ;-)&lt;br /&gt;
&lt;br /&gt;
Richtig fies, wenn auch vom Angreifer meist unbeabsichtigt, wird so ein Angriff dann, wenn jede dieser Anfragen von einer komplexen, Resourcen hungrigen Web-Applikation (einem CMS,Blog o.ä. ) beantwortet werden muss und dadurch die Performance des gesamten Systems in den Keller geht.&lt;br /&gt;
Dann wird aus einem simplen Referrer-Spam-Angriff schnell eine DOS-Attacke.&lt;br /&gt;
Web-Spam-Filter innerhalb der Applikationen, wie sie inzwischen z.B. die meisten Blogs bieten, helfen hier leider gar nichts. Bis solche Filter aktiv werden, ist die meiste Rechenarbeit der Applikation schon passiert.&lt;br /&gt;
Filter innerhalb einer Applikation helfen nur dem Moderator die Kommentare und Trackbacks sauber zu halten.&lt;br /&gt;
&lt;br /&gt;
Es muss also geblockt werden BEVOR die Anfragen bis zur Applikation durchkommen.&lt;br /&gt;
&lt;br /&gt;
Eine einfache aber wirkungsvolle, wenn auch manuelle und daher mühsame Variante ist es, Filter mit RewriteRules zu setzen.&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://www.handcode.de/blog/archives/24-Referrer-Spam-blocken-mit-Apache-und-mod_rewrite.html#extended&quot;&gt;&quot;Referrer-Spam blocken mit Apache und mod_rewrite&quot; vollständig lesen&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 14 Jun 2007 21:07:00 +0200</pubDate>
    <guid isPermaLink="false">http://www.handcode.de/blog/archives/24-guid.html</guid>
    <category>apache</category>
<category>blog</category>
<category>security</category>
<category>spam</category>

</item>
<item>
    <title>Spam-Blocker im Apache mit SetEnvIfNoCase (Fake:WordPress/2.1-alpha3)</title>
    <link>http://www.handcode.de/blog/archives/22-Spam-Blocker-im-Apache-mit-SetEnvIfNoCase-FakeWordPress2.1-alpha3.html</link>
            <category>Apache</category>
    
    <comments>http://www.handcode.de/blog/archives/22-Spam-Blocker-im-Apache-mit-SetEnvIfNoCase-FakeWordPress2.1-alpha3.html#comments</comments>
    <wfw:comment>http://www.handcode.de/blog/wfwcomment.php?cid=22</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.handcode.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=22</wfw:commentRss>
    

    <author>nospam@example.com (Jens Giessmann)</author>
    <content:encoded>
    Zur Zeit werde ich hier mal wieder mit nervigen Fake-Trackbacks zugeballert.&lt;br /&gt;
Klar, die kann man moderieren, und dann löschen, nervt trotzdem.&lt;br /&gt;
&lt;br /&gt;
Was tun?&lt;br /&gt;
&lt;br /&gt;
Blocken anhand der IPs ist meist nicht möglich, die wechselt in der Regel ständig.&lt;br /&gt;
&lt;br /&gt;
Wenn man die Fakes/den Spam aber zum Beispiel anhand des selben (Fake) User-Agent festmachen kann, ist es recht einfach möglich diese im Apache zu blocken. Natürlich nur, wenn man Zugriff auf die Apache-Conf hat oder zumindest .htaccess Dateien anlegen darf. Wenn nicht -&gt; Provider wechseln ;-)&lt;br /&gt;
&lt;br /&gt;
Hier ein aktuelles Beispiel:&lt;br /&gt;
Fake-Trackbacks mit dem immer gleichen User-Agent &quot;-- WordPress/2.1-alpha3&quot;. Prima, damit werden nicht wirklich viele &quot;liebe User&quot; unterwegs sein.&lt;br /&gt;
&lt;br /&gt;
Eine entspr. Regel in der Apache-Conf sieht dann wie folgt aus:&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;CODE:&lt;/div&gt;&lt;div class=&quot;bb-code&quot;&gt;SetEnvIfNoCase&amp;#160;User-Agent&amp;#160;&quot;--&amp;#160;WordPress/2\.1-alpha3&quot;&amp;#160;spammer=1&lt;br /&gt;
&lt;br /&gt;
Order&amp;#160;allow,deny&lt;br /&gt;
Deny&amp;#160;from&amp;#160;env=spammer&lt;br /&gt;
Allow&amp;#160;from&amp;#160;all&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Mit der direktive &lt;a href=&quot;http://httpd.apache.org/docs/1.3/mod/mod_setenvif.html#setenvifnocase&quot;  title=&quot;apache.org: Doku zu SetEnvIfNoCase&quot; target=&quot;_blank&quot;&gt;SetEnvIfNoCase&lt;/a&gt; wird der User-Agent mit der RegEx verglichen und im Erfolgsfall die ENV-Variable spammer auf 1 gesetzt.&lt;br /&gt;
&lt;br /&gt;
Dann bekommen alle Anfragen die als &quot;spammer&quot; geflagged sind, nur noch ein &lt;a href=&quot;http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4&quot;  title=&quot;w3c: HTTP Status Code 403&quot; target=&quot;_blank&quot;&gt;HTTP 403 Status Code (Forbidden)&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Man kann solch ein Regelwerk beliebig erweitern und neue Merkmale hinzufügen.&lt;br /&gt;
&lt;br /&gt;
Klar kann es sein, das man mit solchen Filter-Regeln auch &lt;a href=&quot;http://de.wikipedia.org/wiki/Falsch_negativ&quot;  title=&quot;wikipedia: False-Positive&quot; target=&quot;_blank&quot;&gt;False-Positives&lt;/a&gt; erzeugt, eine Prüfung auf User-Agent Mozilla wäre sicher keine gute Idee ;-)&lt;br /&gt;
&lt;br /&gt;
Da man solche Regeln in &amp;lt;Directory&amp;gt;, &amp;lt;Location&amp;gt;  und &amp;lt;Files&amp;gt; Blöcken definieren kann, muss man ja auch nicht immer die kompletten Seiten sperren. Das Blog-Verzeichnis oder die URL zum Trackback-Eintrag reicht ja.&lt;br /&gt;
&lt;br /&gt;
Falls sich wer hier auf handcode.de zu Unrecht &quot;ausgeschlossen&quot; fühlt, soll sich bitte direkt bei mir melden.&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Fri, 27 Apr 2007 08:30:00 +0200</pubDate>
    <guid isPermaLink="false">http://www.handcode.de/blog/archives/22-guid.html</guid>
    <category>apache</category>
<category>blog</category>
<category>security</category>

</item>
<item>
    <title>Referer oder Referrer?</title>
    <link>http://www.handcode.de/blog/archives/20-Referer-oder-Referrer.html</link>
            <category>Allerlei</category>
            <category>Apache</category>
    
    <comments>http://www.handcode.de/blog/archives/20-Referer-oder-Referrer.html#comments</comments>
    <wfw:comment>http://www.handcode.de/blog/wfwcomment.php?cid=20</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.handcode.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=20</wfw:commentRss>
    

    <author>nospam@example.com (Jens Giessmann)</author>
    <content:encoded>
    ... oder wenn ein Fehler zum Standard wird.&lt;br /&gt;
&lt;br /&gt;
Wie schreibt sich das denn nun richtig? &lt;em&gt;Referer&lt;/em&gt; oder &lt;em&gt;Referrer&lt;/em&gt;? Je nach dem wo man nachschaut, bzw. in welchem Kontext es benutztwird, wird es mal so, mal so geschrieben.&lt;br /&gt;
&lt;br /&gt;
Die korrekte Schreibweise für das englische Wort ist &quot;&lt;em&gt;Referrer&lt;/em&gt;&quot; (engl. to refer,  verweisen).&lt;br /&gt;
&lt;br /&gt;
Der HTTP-Request-Header schreibt sich aber &#039;Referer&#039;.&lt;br /&gt;
&lt;pre&gt;GET / HTTP/1.1
Host: www.example.com
Referer: http://www.example.org/
&lt;/pre&gt;&lt;br /&gt;
Wie kommt&#039;s?&lt;br /&gt;
&lt;br /&gt;
In den ersten Versionen des &lt;a href=&quot;http://www.ietf.org/rfc/rfc1945.txt&quot;  title=&quot;RFC 1945 Hypertext Transfer Protocol -- HTTP/1.0&quot; target=&quot;_blank&quot;&gt;RFC 1945 zu &#039;Hypertext Transfer Protocol -- HTTP/1.0&#039;&lt;/a&gt; von 1996 hatte sich versehentlich die falsche Schreibweise &#039;&lt;em&gt;Referer&lt;/em&gt;&#039; eingeschlichen.&lt;br /&gt;
&lt;br /&gt;
Im Januar 1997 im &lt;a href=&quot;http://www.ietf.org/rfc/rfc2068.txt&quot;  title=&quot;RFC 2068 zu &#039;Hypertext Transfer Protocol -- HTTP/1.1&#039;&quot; target=&quot;_blank&quot;&gt;RFC 2068 zu &#039;Hypertext Transfer Protocol -- HTTP/1.1&#039;&lt;/a&gt; ist diese, an sich falsche Schreibweise dann endgültig zum Standard für HTTP erhoben worden.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;14.37 Referer&lt;br /&gt;
   &lt;br /&gt;
   The Referer[sic] request-header field allows the client to specify,&lt;br /&gt;
   for the server&#039;s benefit, the address (URI) of the resource from&lt;br /&gt;
   which the Request-URI was obtained (the &quot;referrer&quot;, although the&lt;br /&gt;
   header field is misspelled.)...&lt;/blockquote&gt;&lt;br /&gt;
Leider ist es aber auch mit diesem Standard so wie mit den meisten:&lt;br /&gt;
Es halten sich nicht alle dran.&lt;br /&gt;
&lt;br /&gt;
PHP verwendet die HTTP übliche Schreibweise:&lt;br /&gt;
&lt;pre&gt;$_SERVER[&quot;HTTP_REFERER&quot;]&lt;/pre&gt;&lt;br /&gt;
In Javascript zum Beispiel wird aber die englische Schreibweise verwendet:&lt;br /&gt;
&lt;pre&gt;document.referrer&lt;/pre&gt;&lt;br /&gt;
Warum kann denn nicht mal &lt;em&gt;irgendwas&lt;/em&gt; einfach &lt;em&gt;einfach&lt;/em&gt; sein...&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Thu, 29 Mar 2007 23:24:00 +0200</pubDate>
    <guid isPermaLink="false">http://www.handcode.de/blog/archives/20-guid.html</guid>
    <category>allerlei</category>
<category>php</category>

</item>
<item>
    <title>RewriteRules für temporäre Tests</title>
    <link>http://www.handcode.de/blog/archives/13-RewriteRules-fuer-temporaere-Tests.html</link>
            <category>Apache</category>
    
    <comments>http://www.handcode.de/blog/archives/13-RewriteRules-fuer-temporaere-Tests.html#comments</comments>
    <wfw:comment>http://www.handcode.de/blog/wfwcomment.php?cid=13</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.handcode.de/blog/rss.php?version=2.0&amp;type=comments&amp;cid=13</wfw:commentRss>
    

    <author>nospam@example.com (Jens Giessmann)</author>
    <content:encoded>
    Da ich das selber immer mal wieder brauche, hier mal eine Kurz-Doku dazu:&lt;br /&gt;
&lt;br /&gt;
Aufgabe:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Eine WebApp/Site soll getestet werden.&lt;/li&gt;
&lt;li&gt;Fuer die Testphase sollen aber gleichzeitig alle Anfragen die nicht
aus dem eigenen Netz kommen auf eine Baustellenseite umgeleitet
werden.&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
Lösung:&lt;br /&gt;
RewriteRules mit einer Bedingung auf die Client-IP&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;bb-code-title&quot;&gt;CODE:&lt;/div&gt;&lt;div class=&quot;bb-code&quot;&gt;RewriteEngine&amp;#160;On&lt;br /&gt;
#&amp;#160;Die&amp;#160;Baustellen-Seite&amp;#160;selber&amp;#160;einfach&amp;#160;ausliefern&lt;br /&gt;
RewriteRule&amp;#160;^/baustelle.html&amp;#160;-&amp;#160;&amp;#91;L&amp;#93;&lt;br /&gt;
#&amp;#160;Alles&amp;#160;was&amp;#160;NICHT&amp;#160;aus&amp;#160;dem&amp;#160;eigenen&amp;#160;Netz&amp;#160;&amp;#40;192.0.2.&amp;#42;&amp;#41;&amp;#160;kommt....&lt;br /&gt;
RewriteCond&amp;#160;%{REMOTE_ADDR}&amp;#160;!^192\.0\.2\..&amp;#42;&lt;br /&gt;
#&amp;#160;...&amp;#160;umleiten&amp;#160;auf&amp;#160;die&amp;#160;Baustellenseite&lt;br /&gt;
RewriteRule&amp;#160;^.&amp;#42;&amp;#160;http&amp;#58;//www.example.org/baustelle.html&amp;#160;&amp;#91;L,R&amp;#93;&lt;/div&gt;&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Wed, 28 Feb 2007 12:38:27 +0100</pubDate>
    <guid isPermaLink="false">http://www.handcode.de/blog/archives/13-guid.html</guid>
    <category>apache</category>
<category>programming</category>

</item>

</channel>
</rss>