title: getting 500 internal server error HTACCESS
body: <p>I have a website that's running this htaccess without any problem.</p>
  
  <p>I have uploaded my site on my other host and Now I'm getting 500 internal server Error.
  This is my htaccess :</p>
  
  <pre><code>RewriteEngine on
  # Don't allow any pages to be framed - Defends against CSRF stock CSRF attacks
  Header set X-Frame-Options DENY
  
  Header set Access-Control-Allow-Origin "*"
  
  RewriteRule ^([0-9]+)/* play.php?id=$1 [L]
  RewriteRule ^pr-([0-9]+)\/.*?$ index.php?p=dis_add&amp;id=$1 [L]
  RewriteRule ^user_Account/chats/([0-9]+)$ index.php?p=fchat&amp;id=$1
  RewriteRule ^فراموشی_رمز_عبور$ index.php?p=forgetPassword
  RewriteRule ^user_Account$ index.php?p=userAccount [L]
  RewriteRule ^logout$ index.php?p=logout [L]
  RewriteRule ^login$ index.php?p=login [L]
  RewriteRule ^newAdd$ index.php?p=newAdd [L]
  RewriteRule ^newAdd/([0-9]+)$ index.php?p=newAdd&amp;catId=$1  [L]
  RewriteRule ^user_Account/ea/([0-9]+)$ index.php?p=userAccount&amp;what=editadd&amp;id=$1 
  RewriteRule ^user_Account/(.*?)$ index.php?p=userAccount&amp;what=$1 [L]
  RewriteRule ^ad-([0-9]+)/.*?$ index.php?p=dis_add&amp;id=$1 [L]
  RewriteRule ^app index.php?p=info&amp;pid=10 
  RewriteRule ^stores/([0-9]+)/.*? index.php?p=displayStore&amp;Idot;=$1 [L]
  RewriteRule ^page/(.*?)/.*?$ index.php?p=info&amp;pid=$1 [L]
  RewriteRule ^adds/([0-9]+)/.*?/([0-9]+)/.*?/category-([0-9]+)/.*?/subcat-([0-9]+)/.*?$ index.php?p=display_adds&amp;cityId=$2&amp;subCatId=$4
  RewriteRule ^adds/([0-9]+)/.*?/([0-9]+)/.*?/category-([0-9]+)/.*?$ index.php?p=display_adds&amp;cityId=$2&amp;catId=$3
  
  RewriteRule ^adds/([0-9]+)/.*?/([0-9]+)/.*?/subcat-([0-9]+)/.*?$ index.php?p=display_adds&amp;cityId=$2&amp;subCatId=$3
  RewriteRule ^adds/([0-9]+)/.*?/subcat-([0-9]+)/.*?$ index.php?p=display_adds&amp;stateId=$1&amp;subCatId=$2
  
  
  RewriteRule ^adds/category-([0-9]+)/.*?/subcat-([0-9]+)/.*?/$ index.php?p=display_adds&amp;subCatId=$2
  RewriteRule ^adds/category-([0-9]+)/.*?$ index.php?p=display_adds&amp;catId=$1
  
  RewriteRule ^adds/([0-9]+)/.*?/category-([0-9]+)/.*?$ index.php?p=display_adds&amp;stateId=$1&amp;catId=$2
  
  RewriteRule ^adds/$ index.php?p=display_adds&amp;all=true
  RewriteRule ^adds/([0-9]+)/.*?/([0-9]+)/.*?$ index.php?p=display_adds&amp;cityId=$2
  RewriteRule ^adds/([0-9]+)/.*?/category/([0-9]+)/.*?$ index.php?p=display_adds&amp;stateId=$1&amp;catId=$2
  
  RewriteRule ^adds/([0-9]+)/.*?/([0-9]+)/.*?/category/([0-9]+)/.*?$ index.php?p=display_adds&amp;cityId=$1&amp;catId=$2
  RewriteRule ^adds/([0-9]+)/.*?$ index.php?p=display_adds&amp;stateId=$1
  
  
  RewriteRule ^blog$ index.php?p=tuts
  
  
  
  RewriteRule ^category/([0-9]+)/.*?$ index.php?p=display_adds&amp;catId=$1 
  
  
  RewriteRule ^conrimPayment$ index.php?p=conrimPayment
  
  RewriteRule ^n([0-9]+)/.*?$ index.php?p=Disnews&amp;id=$1 [L]
  RewriteRule ^blog/([0-9]+)/.*?$ index.php?p=DisBlog&amp;id=$1 [L]
  
  RewriteRule ^c([0-9]+)/.*?$ index.php?p=adCat&amp;catid=$1 [L]
  
  RewriteRule ^category/.*?/([0-9]+) index.php?p=adCat&amp;catid=$1   
  RewriteRule ^category/.*?/.*?/([0-9]+) index.php?p=adCat&amp;catid=$1  
  
  RewriteRule ^loc/.*?/([0-9]+) index.php?p=loc&amp;ostanId=$1   
  RewriteRule ^loc/.*?/.*?/([0-9]+) index.php?p=loc&amp;cityId=$1  
  
  RewriteRule ^vije\/pr-([0-9]+)\/.*?$ index.php?p=dis_add&amp;id=$1&amp;sp=1&amp;special=0 [L]
  RewriteRule ^vije$ index.php?sp=1 [L]
  
  RewriteRule ^mosabeghe\/pr-([0-9]+)$ index.php?p=dis_addMosabeghe&amp;id=$1 [L]
  
  RewriteRule ^ekhtesasi$ index.php?sp=1&amp;special=1 [L]
  
  RewriteRule ^عمومی$ index.php?p=adds&amp;kind=omu [L]
  RewriteRule ^مزایده$ index.php?p=adds&amp;kind=moz [L]
  RewriteRule ^استخدام$ index.php?p=adds&amp;kind=est [L]
  
  
  RewriteRule ^خبرها$ index.php?p=news
  
  Options -Indexes
  </code></pre>
  
  <p>Why Am I getting 500 internal server error.I'm running this on my other host And it's running properly.What's wrong with this?</p>