I would like to redirect http://abc.xyz.ac.uk/folders/abc/lmn http://abc.xyz.ac.uk/folders/abc/lmn.html
Here is the code where I am enabling this
<Directory /var/www/folders>
RewriteEngine on
RewriteRule ^/abc/lmn$ ^/abc/lmn.html [NC,L]
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
What is wrong with this rule and is this the correct place to include rewrites?
Thanks
.html
in their address bar, or do you just want to display the content from the.html
file without sending the client a redirect?