border

[Technic] Apache

Chris Dillon cdillon at wolves.k12.mo.us
Thu Jul 12 11:07:38 CDT 2007


Quoting Scott Mayo <sgmayo at mail.bloomfield.k12.mo.us>:

> i.e.
> The student browses to http://site.com/homework_hotline
>
> Any pdf that is dropped into the directory homework_hotline will show up
> and they can click on the one that they want.
>
> This way I can create a directory and not have to create 100 or so links.

The server can do automatic directory indexing, listing all of the  
files available in that directory with the option of you adding some  
HTML at the top and/or the bottom of the page.  See the following in  
your httpd.conf:

# Fancy directory listings
Include etc/apache22/extra/httpd-autoindex.conf

And then also take a look at the httpd-autoindex.conf file in the  
'extra' directory.

-- 

Chris Dillon - NetEng/SysAdm
Reeds Spring R-IV School District
Technology Department
175 Elementary Rd.
Reeds Spring, MO  65737
Voice: 417-272-8266   Fax: 417-272-0015




More information about the Technic mailing list