From owner-freebsd-isp@FreeBSD.ORG Sat Jun 7 23:32:53 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E655E37B401 for ; Sat, 7 Jun 2003 23:32:52 -0700 (PDT) Received: from web1.subnetmask.net (web1.subnetmask.net [207.44.145.30]) by mx1.FreeBSD.org (Postfix) with SMTP id 243E943FCB for ; Sat, 7 Jun 2003 23:32:52 -0700 (PDT) (envelope-from freebsd@psyxakias.com) Received: (qmail 13999 invoked from network); 8 Jun 2003 06:32:49 -0000 Received: from athe535-c076.otenet.gr (HELO computer) (62.103.191.76) by bofh.reverse.net with SMTP; 8 Jun 2003 06:32:49 -0000 Message-ID: <001501c32d87$c7ecddd0$162ea8c0@computer> From: "PsYxAkIaS (FreeBSD)" To: Date: Sun, 8 Jun 2003 09:32:47 +0300 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Apache crashing if user's www directory is deleted X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2003 06:32:53 -0000 Hello I use apache/2.045 and virtual hosts like that: ScriptAlias /cgi-bin/ /usr/homeb1/psyxakias/www/cgi-bin/ ServerName www.psyxakias.org ErrorLog /usr/homeb1/psyxakias/www-logs/error.log ServerAdmin psyxakias@psyxakias.org CustomLog /usr/homeb1/psyxakias/www-logs/custom.log common DocumentRoot /usr/homeb1/psyxakias/www If a user removes his www or cgi-bin directory, apache crashes on next = rehash/restart because it doesnt find the directory. Any solutions? I was thinking to change their permissions with = chown/chmod but as they have rwx on their homedir they will still be = able to delete the dirs.