[Technic] Apache
Ricky Nance
ricky.nance at weaubleau.k12.mo.us
Thu Jul 12 09:06:10 CDT 2007
I think there are a few ways to get where your going.
http://httpd.apache.org/docs/2.0/howto/public_html.html if you use this it
will give you http://site.com/~teacher (actually you can set it up to use
site.com/homework_hotline/teacher if you'd like) or you can make a samba share
that works like the samba home share and only that teacher could see their
directory (path = /webdir/%U in your share directive) then tell apache to list
the directories in /webdir (there is an option somewhere for that look on
their site) or you can symlink ln -sf /home/teacher/webdir /webdir/teachername
for each teacher (I would avoid this if I could). If you need help going
further in any of these email me back.
Ricky Nance
On Thu, 12 Jul 2007 08:55:44 -0500, 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.
>
> --
> 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. _______________________________________________
> Technic mailing list
> Technic at lists.more.net
> http://lists.more.net/mailman/listinfo/technic
Ricky Nance
More information about the Technic
mailing list
|