<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Using subdomains like parameter for nice looking personal URL-s, while keeping the www subdomain</title>
	<atom:link href="http://zfsite.andreinikolov.com/2008/11/using-subdomains-like-parameter-for-nice-looking-personal-url-s-while-keeping-the-www-subdomain/feed/" rel="self" type="application/rss+xml" />
	<link>http://zfsite.andreinikolov.com/2008/11/using-subdomains-like-parameter-for-nice-looking-personal-url-s-while-keeping-the-www-subdomain/</link>
	<description>Series of articles describing step by step building of example php application (web site) based on Zend Framework.</description>
	<lastBuildDate>Mon, 05 Jul 2010 08:23:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Svetoslav</title>
		<link>http://zfsite.andreinikolov.com/2008/11/using-subdomains-like-parameter-for-nice-looking-personal-url-s-while-keeping-the-www-subdomain/comment-page-1/#comment-7995</link>
		<dc:creator>Svetoslav</dc:creator>
		<pubDate>Wed, 24 Feb 2010 06:15:47 +0000</pubDate>
		<guid isPermaLink="false">http://zfsite.andreinikolov.com/?p=17#comment-7995</guid>
		<description>Hey,

Thanks for the example.
It seems with ZF 1.9.1 I can do just this:

		$hostnameRoute = new Zend_Controller_Router_Route_Hostname(
			  &#039;:username.domain.com&#039;,
			  array(
			      &#039;module&#039;     =&gt; &#039;default&#039;,
			      &#039;controller&#039; =&gt; &#039;index&#039;,
			      &#039;action&#039;     =&gt; &#039;index&#039;,
			  ),
			  array(&#039;username&#039; =&gt; &#039;(?!www$).*&#039;) // skip www as a username
		);
		
		$router-&gt;addRoute(&#039;user_route&#039;, $hostnameRoute);</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>Thanks for the example.<br />
It seems with ZF 1.9.1 I can do just this:</p>
<p>		$hostnameRoute = new Zend_Controller_Router_Route_Hostname(<br />
			  &#8216;:username.domain.com&#8217;,<br />
			  array(<br />
			      &#8216;module&#8217;     =&gt; &#8216;default&#8217;,<br />
			      &#8216;controller&#8217; =&gt; &#8216;index&#8217;,<br />
			      &#8216;action&#8217;     =&gt; &#8216;index&#8217;,<br />
			  ),<br />
			  array(&#8216;username&#8217; =&gt; &#8216;(?!www$).*&#8217;) // skip www as a username<br />
		);</p>
<p>		$router-&gt;addRoute(&#8216;user_route&#8217;, $hostnameRoute);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Basecamp-style subdomains in Zend Framework :: threadaffinity</title>
		<link>http://zfsite.andreinikolov.com/2008/11/using-subdomains-like-parameter-for-nice-looking-personal-url-s-while-keeping-the-www-subdomain/comment-page-1/#comment-5068</link>
		<dc:creator>Basecamp-style subdomains in Zend Framework :: threadaffinity</dc:creator>
		<pubDate>Fri, 31 Jul 2009 14:22:21 +0000</pubDate>
		<guid isPermaLink="false">http://zfsite.andreinikolov.com/?p=17#comment-5068</guid>
		<description>[...] would need to do. Further research into the Zend_Controller_Router_Route_Hostname directed me to an post that contains a great example from Andrei Nikolov on how to implement the route. In Andrei&#8217;s [...]</description>
		<content:encoded><![CDATA[<p>[...] would need to do. Further research into the Zend_Controller_Router_Route_Hostname directed me to an post that contains a great example from Andrei Nikolov on how to implement the route. In Andrei&#8217;s [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oxid</title>
		<link>http://zfsite.andreinikolov.com/2008/11/using-subdomains-like-parameter-for-nice-looking-personal-url-s-while-keeping-the-www-subdomain/comment-page-1/#comment-2184</link>
		<dc:creator>oxid</dc:creator>
		<pubDate>Mon, 23 Mar 2009 23:44:50 +0000</pubDate>
		<guid isPermaLink="false">http://zfsite.andreinikolov.com/?p=17#comment-2184</guid>
		<description>Hi! Really nice guides, just wondering if you have an exempel how it would look like if you use .ini files instead. Thanks</description>
		<content:encoded><![CDATA[<p>Hi! Really nice guides, just wondering if you have an exempel how it would look like if you use .ini files instead. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: viperx</title>
		<link>http://zfsite.andreinikolov.com/2008/11/using-subdomains-like-parameter-for-nice-looking-personal-url-s-while-keeping-the-www-subdomain/comment-page-1/#comment-1113</link>
		<dc:creator>viperx</dc:creator>
		<pubDate>Tue, 03 Feb 2009 15:26:08 +0000</pubDate>
		<guid isPermaLink="false">http://zfsite.andreinikolov.com/?p=17#comment-1113</guid>
		<description>Hi Gonzalo. I can&#039;t understand your question very well. Plz post some code snippets of what you are trying to do? Post here or send to me at 
viperx [at] andreinikolov.com</description>
		<content:encoded><![CDATA[<p>Hi Gonzalo. I can&#8217;t understand your question very well. Plz post some code snippets of what you are trying to do? Post here or send to me at<br />
viperx [at] andreinikolov.com</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gonzalo</title>
		<link>http://zfsite.andreinikolov.com/2008/11/using-subdomains-like-parameter-for-nice-looking-personal-url-s-while-keeping-the-www-subdomain/comment-page-1/#comment-1100</link>
		<dc:creator>Gonzalo</dc:creator>
		<pubDate>Mon, 02 Feb 2009 12:54:39 +0000</pubDate>
		<guid isPermaLink="false">http://zfsite.andreinikolov.com/?p=17#comment-1100</guid>
		<description>Hi!.. nice tutorial, i had been trying to use the hostname router with a language plugin i have constructed. But i find a problem, when i try to get the parameter in the subdomain, the request send me a (1), false parameter. I don`t know if this is an error of the component or i`m doing something wrong, i would like to share some code with you if you don`t mind! tell me then if you can help me in this. Anyway.. thank you form the tutorials and please… forgive me for my bad english:P</description>
		<content:encoded><![CDATA[<p>Hi!.. nice tutorial, i had been trying to use the hostname router with a language plugin i have constructed. But i find a problem, when i try to get the parameter in the subdomain, the request send me a (1), false parameter. I don`t know if this is an error of the component or i`m doing something wrong, i would like to share some code with you if you don`t mind! tell me then if you can help me in this. Anyway.. thank you form the tutorials and please… forgive me for my bad english:P</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gonzalo</title>
		<link>http://zfsite.andreinikolov.com/2008/11/using-subdomains-like-parameter-for-nice-looking-personal-url-s-while-keeping-the-www-subdomain/comment-page-1/#comment-1099</link>
		<dc:creator>Gonzalo</dc:creator>
		<pubDate>Mon, 02 Feb 2009 12:50:40 +0000</pubDate>
		<guid isPermaLink="false">http://zfsite.andreinikolov.com/?p=17#comment-1099</guid>
		<description>Hi!.. nice tutorial, i had been trying to use the hostname router with a language i have constructed. But i find a problem, when i try to get the parameter in the subdomain, the request send me a (1), false parameter. I don`t know if this is an error of the component or i`m doing something wrong, i would like to share some code with you if you don`t mind! tell me then if you can help me in this. Anyway.. thank you form the tutorials and please... forgive me for my bad english:P</description>
		<content:encoded><![CDATA[<p>Hi!.. nice tutorial, i had been trying to use the hostname router with a language i have constructed. But i find a problem, when i try to get the parameter in the subdomain, the request send me a (1), false parameter. I don`t know if this is an error of the component or i`m doing something wrong, i would like to share some code with you if you don`t mind! tell me then if you can help me in this. Anyway.. thank you form the tutorials and please&#8230; forgive me for my bad english:P</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fibleliagaw</title>
		<link>http://zfsite.andreinikolov.com/2008/11/using-subdomains-like-parameter-for-nice-looking-personal-url-s-while-keeping-the-www-subdomain/comment-page-1/#comment-673</link>
		<dc:creator>Fibleliagaw</dc:creator>
		<pubDate>Tue, 30 Dec 2008 15:45:58 +0000</pubDate>
		<guid isPermaLink="false">http://zfsite.andreinikolov.com/?p=17#comment-673</guid>
		<description>xdppjihqsfhwrtghwell, hi admin adn people nice forum indeed. how&#039;s life? hope it&#039;s introduce branch ;)</description>
		<content:encoded><![CDATA[<p>xdppjihqsfhwrtghwell, hi admin adn people nice forum indeed. how&#8217;s life? hope it&#8217;s introduce branch <img src='http://zfsite.andreinikolov.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.337 seconds -->
