Teacher needs help/advice making page for PDF downloads

The easiest way to display files in a directory doesn’t require any special stack. All you need to do is create a link to a directory that you create under your root directory. Then upload all of the files you wish people to have access to. If there is no index.html file in that directory, the files will display as long as you put a .htaccess file with the following content in the directory where the file resides.
This file should contain two lines, and two lines only. No file extension is needed:

Options +Indexes
IndexOptions FancyIndexing FoldersFirst NameWidth=* DescriptionWidth=*

Here is an example:

http://saudiarabialaw.com/database/

I built the base site with Rapidweaver but this directory listing doesn’t need Rapidweaver. If RW has a more aesthetic way to display the files, I’d like to know. By the way, this required no coding other than the creation of the .htaccess file. The directory listing is generated automatically.

2 Likes