Htaccess for remote server

Iam using following .htaccess file locally and it is working fine.




Options +FollowSymLinks

IndexIgnore */*

RewriteEngine on


# if a directory or a file exists, use it directly

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d


# otherwise forward it to index.php

RewriteRule . index.php



but when I put it on remote server, it gives me "500 INTERNAL SERVER ERROR"

Can some one guide me in this regards

take a look here: http://www.yiiframework.com/forum/index.php?/topic/7956-urlmanager-and-godaddy-trouble/page__hl__rewriterule__fromsearch__1

Check the server logfile, if you have access. mod_rewrite is probably missing on the webserver.

I have checked, MOD_REWRITE is enabled. And Iam still getting 500 internal server error.

Then only server (error-)log can clarify, what’s wrong.

Can you tell its location. Right now Iam using BLUEHOST.

Can’t tell, as i don’t know Bluehost. Maybe give them a call?

Have you looked at the thread I posted the link… have you tried what I and JFReyes suggested there?

Yes I used fillowing htaccess from your mentioned link.




Options +FollowSymLinks

IndexIgnore */*

RewriteEngine on


# if a directory or a file exists, use it directly

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d


# otherwise forward it to index.php

RewriteRule ^.*$ /index.php [L]




My website link is :

Web Focus

Have you tried without the




Options +FollowSymLinks

IndexIgnore */*

Yes I tried it.

Now Iam getting following error :

an error occurred while processing this directive

Web Focus

It’s all just wild guessing. Again: call your provider, he can help.