Hello! I basically can't add anything else to what you've written here, Jan, you have done something very good in creating that explanation. But I shall take a stab at it.
When a webserver is launched on Linux it typically starts off as root, then it drops to its own user name. This is to protect both the machine and the normally registered users of the machine. On my box it is the favorite of Apache "nobody", but other distributions probably select their own. And indeed on this one, that's the case. It started off exactly as described. The decision to use the one user described, ""wwwrun", is written into the code for the one on the NSLU2 someplace. Jan, on your next coffee break down two on me. -- Gregg C Levine [EMAIL PROTECTED] "The Force will be with you always." Obi-Wan Kenobi > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:owfs-developers- > [EMAIL PROTECTED] On Behalf Of Jan Kandziora > Sent: Thursday, March 13, 2008 5:36 AM > To: Bernd 2007 > Cc: [email protected] > Subject: Re: [Owfs-developers] Fwd: Simple perl program > > Am Donnerstag, 13. MC$rz 2008 02:07 schrieb Paul Alfille: > > > > Jan, sorry, I didn't understand anything you tried to explain to me. > > 1. What's a "Content-Type:..." header and what does mean "CHECK". > > > That's what you already have done. CHECK -- to check -> "abhaken". > > > > 2. What is "wwwrun", a certain file in a certain folder and if so, where it > > is placed in the NSLU or on my PC? > > > This is a user name. The web server usually runs with a user different than > root for security concerns. On the NSLU, it may be root -- check the NSLU > documentation. > > > > 3. As far as I know, I have no web SERVER, do I? I have only a web BROWSER > > named Firefox. By the way, I don't know what "Apache" is. > > > You need a web server to give your browser data. Otherwise, the browser would > just display an error page when trying to access the NSLU with > http://<NSLU-IP>/... > > Apache is a popular web server. On the NSLU, apache is not used for size > reasons, it's rather big -- sorry for the wrong info. Instead, the "cherokee" > (pun intended!) web server is used. The configuration syntax is nearly > identical, though. > > See http://www.cherokee-project.com/doc/ > > > > 4. What do you mean by "enable an extension"? I'm used to files which HAVE > > a certain extension, the thing after the full stop, e.g. ".mp3" or ".jpg". > > Did you mean I should create an extension, that the file gets the name > > "test.cgi" for instance? > > > A web server extension -- this is a small program part loaded on demand (for > size reasons). Throw away all the MS windows terms you know when working with > Linux -- they will lead you into utter confusion. > > > > So, after all, do you have a more concrete example for me? As I said, I > > have this "Unslung 6.8" running on my "NSLU2" with also a running "OWFS > > 2.7" on it. It's IP address is "192.168.1.77". Over Ethernet I'm connected > > to a PC with Windows XP and Firefox. Does this help you? > > > First, add Linux to your PC and learn some Linux basics. It's possible to > *use* the NSLU distribution without knowing Linux, but if you want to tweak > it, e.g. to do some OWFS magic, you have to know the basics. Otherwise, we'll > be spinning around easy stuff explaining Linux basics and get exhausted > before we come to the interesting topics. > > Once you installed Linux, the *very* first lesson is to feed a search engine > with the right questions and read the documentation. > > Kind regards > > Jan > -- > Das SchC6ne an Windows NT ist: Es stC<rzt nicht einfach ab. Es zeigt > einen Dialog an und lC$sst dich den Absturz mit 'OK' bestC$tigen. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
