From owner-freebsd-isp Mon Nov 24 18:01:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA26475 for isp-outgoing; Mon, 24 Nov 1997 18:01:57 -0800 (PST) (envelope-from owner-freebsd-isp) Received: from gate.leissner.se (gate.leissner.se [193.45.192.34]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA26467 for ; Mon, 24 Nov 1997 18:01:53 -0800 (PST) (envelope-from pol@leissner.se) Received: from leissner.se (uucp@localhost) by gate.leissner.se (8.8.5/8.8.4) with UUCP id CAA03546 for freebsd.org!isp; Tue, 25 Nov 1997 02:01:41 GMT Received: from lda.leissner.se by lda.leissner.se id aa25263; 25 Nov 97 3:01 SNT Message-Id: <3.0.32.19971125030108.015b8d58@lda> X-Sender: pol@lda X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Tue, 25 Nov 1997 03:01:13 +0100 To: Marc Slemko From: Peter Olsson Subject: Re: Web Page Restrictions Cc: Eddie Fry , isp@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id SAA26470 Sender: owner-freebsd-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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 > > 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