Okay, I want to make it so when someone goes to dev.mysite.com/default.php , it masks it as dev.mysite.com/ . And when someone visits dev.mysite.com/default.php , they are seeing the page but it is showing as dev.mysite.com/ .
Hope you guys get what I'm saying.
the only thing i know, is you have to rename default.php with index.php. So whenever someone visits dev.mysite.com/ he sees the index page
If I understand what you want, then this is all you need:
.htaccess
DirectoryIndex default.php
Thanks malcom! but now if I access default.php with the direct link, dev.mysite.com/default.php , they are seeing the real link instead of dev.mysite.com/.
Make the default.php page redirect back to the index, which will then load default.php masked as the index.
Redirect /default.php http://dev.mysite.com/