Dear all, i must rewrite url in virtual host.

Virtual directory : htdoc/dev/ ,

syntax inshtaccess in htdoc/dev

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule test.html$ test.php [L]

I can rewrite test.html to check.perl in localhost. However, unable to get it done in virtual host. What went wrong here? Help. Thanks.

Book you have AllowOverride option set to All:

    AllowOverride All