I'm running Apache on Ubuntu Server. mysite.com/file.php, for example, is accessible also from mysite.com/file and the same is for images, html pages and everything else. How can I force Apache to serve files only if their extension is specified?
Thanks