<?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>lordmats heiterkeit! &#187; ordner</title>
	<atom:link href="http://www.lordmat.de/tag/ordner/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lordmat.de</link>
	<description>Zwischen Wahnsinn und Realitaet</description>
	<lastBuildDate>Fri, 10 Feb 2012 15:21:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>2 Domains auf ein Server mit Rewriterule</title>
		<link>http://www.lordmat.de/2010/02/2-domains-auf-ein-server-mit-rewriterule/</link>
		<comments>http://www.lordmat.de/2010/02/2-domains-auf-ein-server-mit-rewriterule/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 17:36:23 +0000</pubDate>
		<dc:creator>Matze</dc:creator>
				<category><![CDATA[Anleitung]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[ordner]]></category>
		<category><![CDATA[rewriterule]]></category>
		<category><![CDATA[umleitung]]></category>
		<category><![CDATA[vhost]]></category>

		<guid isPermaLink="false">http://www.lordmat.de/?p=510</guid>
		<description><![CDATA[2 Domains auf ein Server ohne Vhost dafuer mit einer Rewriterule <a href="http://www.lordmat.de/2010/02/2-domains-auf-ein-server-mit-rewriterule/">Weiterlesen <span class="meta-nav">&#8594;</span></a>
vielleicht auch:<ol>
<li><a href='http://www.lordmat.de/2009/07/server-statistiken-einfach-gemacht/' rel='bookmark' title='Server Statistiken einfach gemacht'>Server Statistiken einfach gemacht</a></li>
<li><a href='http://www.lordmat.de/2008/05/anleitung-gentoo-bind-domains-auf-lan-ips-eth0/' rel='bookmark' title='Anleitung Gentoo Bind &#8211; Domains auf LAN IPs [eth0]'>Anleitung Gentoo Bind &#8211; Domains auf LAN IPs [eth0]</a></li>
<li><a href='http://www.lordmat.de/2009/05/jetzt-wird-gepimpt/' rel='bookmark' title='Jetzt wird gepimpt'>Jetzt wird gepimpt</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>Mein Problem</strong>:<br />
Um einen Vhost für Apache nutzen zu können, muss ein Alias auf dem Nameserver angelegt werden in ein A Record.<br />
Da dies bei mir nicht möglich ist auf Grund meiner Dynamischen IP musste ich mir was anderes einfallen lassen.</p>
<p><strong>Die Lösung</strong>:<br />
In der .htacces kann man eine Rewriterule eintragen, die eine Subdomain auf einen separaten Ordner umleiten lässt &#8211; wichtig, ist der Ordner muss gleich heißen wie in der Rewriterule angegeben:</p>
<p><strong>Mein Beispiel</strong>:<br />
Hauptdomain: www.lordmat.de<br />
Subdomain: ebrett.lordmat.de<br />
Ordner in /var/www: ebrett<br />
Rewriterule:<br />
<blockquote>
RewriteCond %{HTTP_HOST} ^[www\.]*ebrett.lordmat.de [NC]<br />
RewriteCond %{REQUEST_URI} !^/ebrett/.*<br />
RewriteRule ^(.*) ebrett/$1/ [L]
</p></blockquote>
<hr /><small>Copyright &copy; 2008 - 2011 bei lordmats heiterkeit!<br /> Dieser Feed ist Privat. <br /> (RSS Fingerprint: 1cdf07bcafcf82a8425c0c5ebc9d4e85)</small> <br /> <a href="http://www.lordmat.de/2010/02/2-domains-auf-ein-server-mit-rewriterule/#comments" title="zu den Kommentaren">zu den Kommentaren</a>, Autor: <a href="http://www.lordmat.de" >Matze</a><p>vielleicht auch:<ol>
<li><a href='http://www.lordmat.de/2009/07/server-statistiken-einfach-gemacht/' rel='bookmark' title='Server Statistiken einfach gemacht'>Server Statistiken einfach gemacht</a></li>
<li><a href='http://www.lordmat.de/2008/05/anleitung-gentoo-bind-domains-auf-lan-ips-eth0/' rel='bookmark' title='Anleitung Gentoo Bind &#8211; Domains auf LAN IPs [eth0]'>Anleitung Gentoo Bind &#8211; Domains auf LAN IPs [eth0]</a></li>
<li><a href='http://www.lordmat.de/2009/05/jetzt-wird-gepimpt/' rel='bookmark' title='Jetzt wird gepimpt'>Jetzt wird gepimpt</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.lordmat.de/2010/02/2-domains-auf-ein-server-mit-rewriterule/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

