Is it possible to rewrite an url and also block the file extension?.
eg: if I have
`http://www.example.com/search.php?...`
can I rewrite it to
`http://www.example.com/search?` ?
but, blocking the access to the .php file, normally I can access with both ways, with and without the file extension, but I want it to show an error page or 404 if I access with search.php.
Is it possible?.
Thanks.