Add the following to the .htaccess file:
DirectoryIndex filename.html
After you make the above modification, a request for [forexample-domain.net...] would return [forexample-domain.net...] if it exists, or would list the directory if it did not exist.
To automatically run a cgi script, add the following to the .htaccess file:
DirectoryIndex /cgi-local/index.pl
This would cause the CGI script /cgi-local/index.pl to be executed.
If you place your .htaccess file containing the DirectoryIndex specification in the root directory of your site, it will apply for all sub-directories.
i need to know how to do exactly this except to me this looks like french please help