That's quite a simple question, but I would like to create a redirection for my website using Apache2 and the virtual hosts.
I want it to happen when a user gets on this link : https://somewebsite.com/test And this link should redirect to an html file in my website directory (for example test.html) with the link still on https://somewebsite.com/test
https://somewebsite.com/test
test.html
I think I should use mod_rewrite or the aliases but I don't know how to use them.
Thanks for your time !
1.4m articles
1.4m replys
5 comments
57.0k users