Ray Olszewski <[EMAIL PROTECTED]> writes: >At 08:15 AM 9/15/2004 -0400, William Stanard wrote: >>I help students manage a school intranet website on a machine running Red >>Hat 2.4.18-14 and Apache 2.0.40. >> >>How do I keep my student users with accounts on the machine from being >>able to access, via Putty, /home/bobo/public_html, the directory in which >>I keep all of the content for the site, including tests and quizzes for >my >>students' online use? >> >> I can password protect, using .htaccess, specific directories from >>"unauthorized" access, but I would like to provide similar protection for >>the /home/bobo/public_html/Prog/tests directory. If I change permissions >>via chmod, however, then Apache will not be able to serve the pages to >the >>intranet. > >This is actually a tricky problem, taking you into one of the blurry >areas >of Unix/Linux permissions. One way to solve it: first check what userid >apache is running under and what groups that userid is part of. Thank you very much for the reply. I am using what you said and what Stephen posted to solve the problem.... but, and this seems so simple, I am embarrassed to ask, how do I determine what userid apache is running under?
Bill Stanard - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
