htaccess directory index
generelly when we access the directory on webserver, we get index.html or index.htm or default.asp or index.php.
in some situation we need to change the directory default page to other or specified page. We can set this with htaccess file on server . remember before going to view this tutorial , you have to check htaccess enabled by your web hosting provider.
open your favorite text editor and add following text to it and save as .htacces name .
So when you open some url like
you will serve the mydirectory.html as default page.