tags:

views:

75

answers:

1

I have enabled the rewrite module in apache . Later i developed the .htaccess file in root .

RewriteEngine On
RewriteRule ^test.html $ test.php

but its not working ? Internal server error occurs. What to do next?

+5  A: 

I'd say mod_rewrite is not turned on, or it's not allowed in an .htaccess file. Check the error log.

Your rule is also wrong, it should be

RewriteRule ^test\.html$ test.php

The dot means "any character" and should be escaped; you also had a space after html.

Artefacto
Yeah..Thanks lot..its working fine now
Vithya