I would like to make e.g. http://www.address.com/u.exe equal to http://www.address.com/serverfile.php or pl?
Is it possible?
So if someone types http://www.address.com/u.exe should get servefile.php…
Thanks for showing the right direction..
This seems to work. RewriteEngine on also had to be added.
I had to change .htaccess file
RewriteEngine on
RewriteRule ^u\.exe$ serverfile.php
Yes, it’s possible with mod_rewrite like below.
Or below if you want to display serverfile.php (via a redirect).