border

[Technic] Apache

Scott Mayo sgmayo at mail.bloomfield.k12.mo.us
Thu Jul 12 09:01:16 CDT 2007


Scott Mayo wrote:
> I don't do a lot with the web page.  I usually get the server set up and 
> that is about it.  We are running Apache 2 and I have a question.  I am 
> thinking about putting the homework hotline on the webpage.  I am going 
> to have it where the teacher drops their file into a directory and then 
> the files get sent to the webpage.  I could just make links on the page 
> for each teacher and have that link point to the file that gets copied 
> over to the webpage.
> 
> i.e.      teacher1 -> /webdir/teacher1.pdf
>      teacher2 -> /webdir/teacher2.pdf
>      ..
>      teacher100 -> /webdir/teacher100.pdf
> 
> but I was wondering if I could make a link to a directory and when 
> someone goes to the directory, then they will see all the teachers 
> listed and can just select the teacher that they want.
> 
> 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.
> 
> Thanks and i hope that makes sense.
> 

Ok I think I found the answer.  I just added the directory in and used 
the 'Options Indexes' on it and that seems to work.

Thanks.


-- 
Scott Mayo
System Administrator
Bloomfield Schools
PH: 573-568-5669
FA: 573-568-4565
Pager: 800-264-2535 X2549

Duct tape is like the force, it has a light side and a dark side and it
holds the universe together.


More information about the Technic mailing list