title: .htaccess file not working on linux
body: <p>I have configured Amazon EC2 instance with <code>Amazon Linux AMI 64 bit</code></p>
  
  <p>and I have uploaded my website, whole code is working but issue with <code>.htaccess</code></p>
  
  <p><code>RewriteRule</code> are not working. I have done all changes in <code>httpd.conf</code> file but I think it might be a permission issue.</p>
  
  <p>please help me regarding this.</p>
  
  <p>here is my <code>htaccess</code> code</p>
  
  <pre><code>Options +FollowSymLinks
  RewriteEngine on
  RewriteCond %{HTTP_HOST} ^friosworld\.com$ [NC]
  RewriteRule ^(.*)$ http://www.friosworld.com/$1 [R=301,L]
  </code></pre>
  
  <p>and one more thing I have found via googling</p>
  
  <p><code>httpd.conf</code> file code</p>
  
  <pre><code>&lt;Directory /&gt;
      Options FollowSymLinks
      AllowOverride None
  &lt;/Directory&gt;
  </code></pre>
  
  <p>I think problem is in this block of code. but I don't know what is the problem!</p>
  
  <p>I have also changed <code>AllowOverride None</code> to <code>AllowOverride All</code> but still not working!!</p>