Below are questions that frequently get sent to webmeister. Please read through them before asking your question; chances are, someone has already asked it.

Q: I have some handouts/example code/sample files for my class, but I only want my class to be able to see them. Is it possible to set up some sort of password protection for just these files? Answer

Q: I have some example files I want my students to be able to download. Is there a way I can have the server list a directory, so that I can just put all of my sample files in one directory, and have the students look at that directory? Answer

Q: I'd like to know how many people are looking at my pages. How do I set up a counter on my pages? Answer


Q -

I have some handouts/example code/sample files for my class, but I only want my class to be able to see them. Is it possible to set up some sort of password protection for just these files?

A -

Yes, we can set up what's called a "realm" for your class, and your students will need a username and a password to access files in the "realm". Basically, we just make a directory wherein we put all of the files you want protected, and then the students must supply the username and password to access files in that directory. There is just one username and one password for the realm, so you can just give that out in class ( you don't have to give individual accounts to each student ). For more information and to get something like this set up, contact Mike VanHorn.


Q -

I have some example files I want my students to be able to download. Is there a way I can have the server list a directory, so that I can just put all of my sample files in one directory, and have the students look at that directory?

A -

Yes, you can do that. Make a subdirectory for the files to go in, and then don't put a default page ( i.e. a default.html or an index.html file ) in that directory. When a request comes in for that directory, it will list the contents of that directory.


Q -

I'd like to know how many people are looking at my pages. How do I set up a counter on my pages?

A -

See our page about Adding a Counter to Your Page.

Remember, though, that a counter will only tell you how many hits you get, it won't tell you anything else ( like where the hits are coming from ). If you you need more information than that, contact Mike VanHorn about getting a custom log file report for your files.