<?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>Vinodkram &#187; .htaccess</title>
	<atom:link href="http://www.vinodkram.com/category/htaccess/feed" rel="self" type="application/rss+xml" />
	<link>http://www.vinodkram.com</link>
	<description>Creative, Informative and Entertaining Stuff for everyone</description>
	<lastBuildDate>Mon, 26 Dec 2011 18:34:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to remove file extension using .htaccess</title>
		<link>http://www.vinodkram.com/how-to-remove-file-extension-using-htaccess</link>
		<comments>http://www.vinodkram.com/how-to-remove-file-extension-using-htaccess#comments</comments>
		<pubDate>Tue, 07 Jun 2011 05:58:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.htaccess]]></category>

		<guid isPermaLink="false">http://www.vinodkram.com/?p=1583</guid>
		<description><![CDATA[Options +FollowSymLinks RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.php [NC,L]]]></description>
			<content:encoded><![CDATA[<p>Options +FollowSymLinks<br />
<IfModule mod_rewrite.c><br />
RewriteEngine on<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteRule ^([^\.]+)$ $1.php [NC,L]<br />
</IfModule></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vinodkram.com/how-to-remove-file-extension-using-htaccess/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to remove single file extension using .htaccess</title>
		<link>http://www.vinodkram.com/how-to-remove-single-file-extension-using-htaccess</link>
		<comments>http://www.vinodkram.com/how-to-remove-single-file-extension-using-htaccess#comments</comments>
		<pubDate>Tue, 07 Jun 2011 05:56:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.htaccess]]></category>

		<guid isPermaLink="false">http://www.vinodkram.com/?p=1580</guid>
		<description><![CDATA[Options +FollowSymLinks RewriteEngine on RewriteCond %{filename.php} !-d RewriteRule ^([^\.]+)$ $1.php [NC,L]]]></description>
			<content:encoded><![CDATA[<p>Options +FollowSymLinks<br />
<IfModule mod_rewrite.c><br />
RewriteEngine on<br />
RewriteCond %{filename.php} !-d<br />
RewriteRule ^([^\.]+)$ $1.php [NC,L]</p>
<p></IfModule></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vinodkram.com/how-to-remove-single-file-extension-using-htaccess/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to configure the symfony project directory</title>
		<link>http://www.vinodkram.com/how-to-configure-the-symfony-project-directory</link>
		<comments>http://www.vinodkram.com/how-to-configure-the-symfony-project-directory#comments</comments>
		<pubDate>Wed, 22 Apr 2009 07:27:48 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Symfony]]></category>

		<guid isPermaLink="false">http://vinodkram.wordpress.com/?p=50</guid>
		<description><![CDATA[Your symfony project derectory is &#8220;/var/www/html/sf_sandbox&#8221; so in the browser you can acess this by this URL : &#8220;http://localhost/sf_sandbox/web/frontend.php/&#8221; So if you want to map the symfony project directoy to your web root directory ie i mean to say you just want to acess it my using the URL :&#8221;http://localhost/&#8221; then you have to add [...]]]></description>
			<content:encoded><![CDATA[<p>Your symfony project derectory is &#8220;/var/www/html/sf_sandbox&#8221; so in the browser you can acess this by this URL : &#8220;http://localhost/sf_sandbox/web/frontend.php/&#8221;</p>
<p>So if you want to map the symfony project directoy to your web root directory ie i mean to say you just want to acess it my using the URL :&#8221;http://localhost/&#8221; then you have to add the below line in the httpd.conf file and then restart your apache server.After that you can directly acess the symfony project from localhost url.</p>
<p>&lt;VirtualHost *:80&gt;<br />
ServerName http://localhost/<br />
DocumentRoot &#8220;/var/www/html/sf_sandbox/web&#8221;<br />
DirectoryIndex index.php<br />
&lt;Directory &#8220;/var/www/html/sf_sandbox/web&#8221;&gt;<br />
AllowOverride All<br />
Allow from All<br />
&lt;/Directory&gt;<br />
&lt;/VirtualHost&gt;</p>
<p>Rest of the things will be handled by symfony itself.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vinodkram.com/how-to-configure-the-symfony-project-directory/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to redirect domain to other directory on the same domain</title>
		<link>http://www.vinodkram.com/how-to-redirect-domain-to-other-directory-on-the-same-domain</link>
		<comments>http://www.vinodkram.com/how-to-redirect-domain-to-other-directory-on-the-same-domain#comments</comments>
		<pubDate>Fri, 17 Apr 2009 07:00:44 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[rewrite rule]]></category>
		<category><![CDATA[URL rewrite rule]]></category>

		<guid isPermaLink="false">http://vinodkram.wordpress.com/?p=45</guid>
		<description><![CDATA[Open the .htaccess file of your root directory of your project and add the following line. RewriteEngine On RewriteCond %{HTTP_HOST} !^http://someDomainName.com [NC] RewriteCond %{HTTP_HOST} !^http://www.someDomainName.com [NC] RewriteCond %{HTTP_HOST} !^$ RewriteCond %{REQUEST_URI} !^/someOtherDirectory/ RewriteRule ^(.*)$ /someOtherDirectory/$1 Then restart your apache Usage : Suppose your project is placed in some other directory other than the default web [...]]]></description>
			<content:encoded><![CDATA[<pre>Open the .htaccess file of your root directory
of your project and add the following line.

RewriteEngine On
RewriteCond %{HTTP_HOST} !^http://someDomainName.com [NC]
RewriteCond %{HTTP_HOST} !^http://www.someDomainName.com [NC]
RewriteCond %{HTTP_HOST}   !^$
RewriteCond %{REQUEST_URI} !^/someOtherDirectory/
RewriteRule ^(.*)$ /someOtherDirectory/$1

Then restart your apache

Usage :
Suppose your project is placed in some other directory
other than the default web directory then you can redirect
your request to that directory for example

Your actual project URL is
"http://someDomaiName/someDirectory/fileName"
and you want that your URL should resemble like
"http://someDomaiName/fileName"
then the above .htaccess rule will do the same.</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.vinodkram.com/how-to-redirect-domain-to-other-directory-on-the-same-domain/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

