title: Htaccess redirection rule not working on Hostgator Server whereas works on Localhost and other hosts
body: <p>I wrote this htaccess rule to fulfil my custom requirement that when there is certain host comes to the my main folder, use its resources from the other folder.</p>
  
  <p>But the issue I am facing is, such rule works on all hosts including my local xampp, but not on hostgator. Is there anything I can do to support the hostgator?</p>
  
  <pre><code>RewriteCond %{HTTP_HOST} ^abc.com$ [NC,OR]
  RewriteCond %{HTTP_HOST} ^www.abc.com$
  RewriteCond %{REQUEST_URI} !abc/
  RewriteRule (.*) /my/customfolder/abcfolder/$1 [L]
  </code></pre>
  
  <p>Output I am getting on server is <strong>500 Internal Server Error</strong></p>
  
  <p>I have tried making <strong>[NC,OR]</strong> to <strong>[NC]</strong>
  but no success. Any solutions or alternatives?</p>