<?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"
	>
<channel>
	<title>Comments on: Dynamic sub-domains with PHP</title>
	<atom:link href="http://www.idealwebtools.com/blog/dynamic-subdomains/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.idealwebtools.com/blog/dynamic-subdomains/</link>
	<description>Blogging is fun</description>
	<pubDate>Tue, 06 Jan 2009 21:43:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: AjiNIMC</title>
		<link>http://www.idealwebtools.com/blog/dynamic-subdomains/#comment-85069</link>
		<dc:creator>AjiNIMC</dc:creator>
		<pubDate>Mon, 10 Sep 2007 01:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.idealwebtools.com/blog/dynamic-subdomains/#comment-85069</guid>
		<description>&lt;blockquote&gt;For abc.idealwebtools.com/test.php
i want it should open /commonblogs/abc[subdomainname]/test.php&lt;/blockquote&gt;

The above htaccess will not work as it was not getting it from /commonblogs/abc[subdomainname]/ .. for this you will have do add some more lines.
RewriteRule (.*) /commonblogs/%1/$1 [L]

I think this should work, in case if it is not working let me know I will write the code for you :). Good day</description>
		<content:encoded><![CDATA[<blockquote><p>For abc.idealwebtools.com/test.php<br />
i want it should open /commonblogs/abc[subdomainname]/test.php</p></blockquote>
<p>The above htaccess will not work as it was not getting it from /commonblogs/abc[subdomainname]/ .. for this you will have do add some more lines.<br />
RewriteRule (.*) /commonblogs/%1/$1 [L]</p>
<p>I think this should work, in case if it is not working let me know I will write the code for you :). Good day</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sandeep</title>
		<link>http://www.idealwebtools.com/blog/dynamic-subdomains/#comment-84448</link>
		<dc:creator>Sandeep</dc:creator>
		<pubDate>Sun, 09 Sep 2007 09:10:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.idealwebtools.com/blog/dynamic-subdomains/#comment-84448</guid>
		<description>Hello,

I want to know if i use    abc.idealwebtools.com/test.php then above .htacess code is enought or do i have to add some extra condition to handle this request.

For abc.idealwebtools.com/test.php 
i want it should open /commonblogs/abc[subdomainname]/test.php</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I want to know if i use    abc.idealwebtools.com/test.php then above .htacess code is enought or do i have to add some extra condition to handle this request.</p>
<p>For abc.idealwebtools.com/test.php<br />
i want it should open /commonblogs/abc[subdomainname]/test.php</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AjiNIMC</title>
		<link>http://www.idealwebtools.com/blog/dynamic-subdomains/#comment-43013</link>
		<dc:creator>AjiNIMC</dc:creator>
		<pubDate>Thu, 05 Jul 2007 07:50:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.idealwebtools.com/blog/dynamic-subdomains/#comment-43013</guid>
		<description>something like

&lt;code&gt;
(This is multi blogs)
RewriteCond %{HTTP_HOST} ^([a-zA-Z0-9]{3,})\.idealwebtools.\.com
RewriteCond %{REQUEST_URI} !/common-blogs/*
RewriteCond %{REQUEST_URI} !/styles-for-common-blogs/*
RewriteRule (.*)    /commonblogs/$1 [L]
&lt;/code&gt;

Over here all the request from subdomain (with more than 3 letters) will get executed from commonblogs folder than public_html, this .htaccess should be placed at public_html (doc root) level.

Hope it helps.</description>
		<content:encoded><![CDATA[<p>something like</p>
<p><code><br />
(This is multi blogs)<br />
RewriteCond %{HTTP_HOST} ^([a-zA-Z0-9]{3,})\.idealwebtools.\.com<br />
RewriteCond %{REQUEST_URI} !/common-blogs/*<br />
RewriteCond %{REQUEST_URI} !/styles-for-common-blogs/*<br />
RewriteRule (.*)    /commonblogs/$1 [L]<br />
</code></p>
<p>Over here all the request from subdomain (with more than 3 letters) will get executed from commonblogs folder than public_html, this .htaccess should be placed at public_html (doc root) level.</p>
<p>Hope it helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.idealwebtools.com/blog/dynamic-subdomains/#comment-43005</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 05 Jul 2007 07:25:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.idealwebtools.com/blog/dynamic-subdomains/#comment-43005</guid>
		<description>Could you give an example of a .htaccess file for step 2? It isn't really clear what you are saying to do. Thanks.</description>
		<content:encoded><![CDATA[<p>Could you give an example of a .htaccess file for step 2? It isn&#8217;t really clear what you are saying to do. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AjiNIMC</title>
		<link>http://www.idealwebtools.com/blog/dynamic-subdomains/#comment-35580</link>
		<dc:creator>AjiNIMC</dc:creator>
		<pubDate>Thu, 21 Jun 2007 14:43:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.idealwebtools.com/blog/dynamic-subdomains/#comment-35580</guid>
		<description>You will have to do a * entry at your dns level as well to resolve these subdomains. It will be quite fast as it will resolve at your end.</description>
		<content:encoded><![CDATA[<p>You will have to do a * entry at your dns level as well to resolve these subdomains. It will be quite fast as it will resolve at your end.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
