From owner-freebsd-isp Mon Nov 24 17:48:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA24820 for isp-outgoing; Mon, 24 Nov 1997 17:48:39 -0800 (PST) (envelope-from owner-freebsd-isp) Received: from scanner.worldgate.com (scanner.worldgate.com [198.161.84.3]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA24811 for ; Mon, 24 Nov 1997 17:48:37 -0800 (PST) (envelope-from marcs@znep.com) Received: from znep.com (uucp@localhost) by scanner.worldgate.com (8.8.7/8.8.7) with UUCP id SAA01134; Mon, 24 Nov 1997 18:48:31 -0700 (MST) Received: from localhost (marcs@localhost) by alive.znep.com (8.7.5/8.7.3) with SMTP id SAA06165; Mon, 24 Nov 1997 18:46:59 -0700 (MST) Date: Mon, 24 Nov 1997 18:46:59 -0700 (MST) From: Marc Slemko To: Peter Olsson cc: Eddie Fry , isp@freebsd.org Subject: Re: Web Page Restrictions In-Reply-To: <3.0.32.19971125024034.006f6f64@lda> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by hub.freebsd.org id RAA24812 Sender: owner-freebsd-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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