Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
November 29, 2003, 7:58 pm
rate this thread
index.html is not available. Therefore does anyone know a way in which I
can write the index.html for
that directory that lists all the files dynamically i.e. so I can change the
files via ftp without having to change the html that points to them?
Re: Referring to a folder of files that changes regularly
(assumes apache) stick the below in a .htaccess file for the
directory you want the directives to apply to. child directories inherit
the directives so if you stick it in your root the directives will apply
to all of your site.
#allow directory listing
 a .htaccess file is a plain text file named as shown. if you create
the file with notepad save the file with quotes to prevent notepad from
adding a .txt extension i.e: ".htaccess"
a hash '#' indicates a comment line. remove/change/add them if you wish.
30/November/2003 07:22:08 am