Date: Tue, 25 Nov 1997 03:01:13 +0100 From: Peter Olsson <pol@leissner.se> To: Marc Slemko <marcs@znep.com> Cc: Eddie Fry <eddie@wicked.eaznet.com>, isp@freebsd.org Subject: Re: Web Page Restrictions Message-ID: <3.0.32.19971125030108.015b8d58@lda>
next in thread | raw e-mail | index | archive | help
18:46 1997-11-24 -0700, Marc Slemko wrote: >On Tue, 25 Nov 1997, Peter Olsson wrote: > >> 18:24 1997-11-24 -0700, Marc Slemko wrote: >> >On Tue, 25 Nov 1997, Peter Olsson wrote: >> > >> >> 16:53 1997-11-24 -0700 Eddie Fry wrote: >> >> >I'm running 2.2.2 and Apache. I have a customer that keeps putting up >> >> pages that should be in his own domain (we host a domain for him). Is >> >> there a way to "turn-off" the üxxx link to a certain user's page? >> >> >> >> Make his web-directory (default public_html) owned by root, >> >> chmod it to 700 and delete all his files in the directory. >> > >> >I'm afraid that won't do much. All he has to do is remove the directory >> >and make a new one. >> >> Hmmm, ok, you're right. But if you put a dummy-file in the directory, >> and the file is also owned by root and chmod'ed 700, then he can't >> remove the directory. At least I hope so because I just tried it and I >> couldn't remove the directory. At least not with "rmdir" or "rm -r". >> >> Sorry, answered before testing last time. > >mv public_html my_goats >mkdir public_html ># stick my web pages there > ><g> Ok, I give up :) I shouldn't try answering any questions at 3 AM :) (If this was one of my users and he didn't accept the rules I would make his entire home-directory, except his real web, read-only. Then, at least, I hope I win :) Peter Olsson pol@leissner.se
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.32.19971125030108.015b8d58>
