I'm designing a website and whenever I change the file type of the home page to ".asp" whenever I pull up the site, it loads the directory instead of the page. Which is really bad because it gives a link to my "admin.php". However if the file type isn't ".asp" then some of the features of my site won't work. I've changed the file type before and this didn't happen. The file types I've used before are ".htm, .html, .php". So can anyone tell me whats wrong and how to fix it?
I have an idea of how to fix it, but idk if a php file can use the "include ()" function for an ".asp" file.