Forum Moderators: buckworks & webwork

Message Too Old, No Replies

Translation!

         

helpless

4:56 am on Nov 19, 2004 (gmt 0)

10+ Year Member



Different Default Home Page

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

coopster

2:54 pm on Nov 19, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, helpless.

All you do is open your favorite text editor, key in the directive(s) and save the file with the name

.htaccess
and FTP/move it into your root directory of your public web site pages.

helpless

3:27 pm on Nov 19, 2004 (gmt 0)

10+ Year Member



thats it wow thanks alot