Dear all, i must rewrite url in virtual host.
Virtual directory : htdoc/dev/ , dev.com
syntax inshtaccess in htdoc/dev
<IfModule mod_rewrite.c> RewriteEngine On RewriteRule test.html$ test.php [L] </IfModule>
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:
<VirtualHost...> ... AllowOverride All ... </VirtualHost>