I would like to rewrite url in virtual host.
Virtual directory:
htdoc/dev/ , dev.com
Syntax in .htaccess in htdoc/dev:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule test.html$ test.php [L]
</IfModule>
I am able to rewrite test.html to test.php in localhost. However, not able to do it in virtual host. What went wrong here?
Please check that you have AllowOverride option set to All: