From owner-freebsd-jail@FreeBSD.ORG Tue Aug 5 16:52:25 2014 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7AAECCC5 for ; Tue, 5 Aug 2014 16:52:25 +0000 (UTC) Received: from mail-we0-x22f.google.com (mail-we0-x22f.google.com [IPv6:2a00:1450:400c:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 18ED7279A for ; Tue, 5 Aug 2014 16:52:24 +0000 (UTC) Received: by mail-we0-f175.google.com with SMTP id t60so1342417wes.34 for ; Tue, 05 Aug 2014 09:52:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=YI9YPkbswH7XOGk/5Fu21cVDBojmzaGnaIDbKaVe4tI=; b=f/6ZTRlL2ynnosp9iIhYXkQABj2aox2pIGjknqMVutfwRNodjiICrzSgdnV+Vc48tO fZVuqbO7udR4+RzKkMtJd7azxMRH7pXIRpPslSW6qjHNXSSO9inzPInLV+bk5gaEgcb8 2YOj56oavVdKGwHGY8RSTmVeRH3LUkq6LEmLW8dATjoaiJIMbLGajIIhIQ0YITtMdcx6 MvcZBg0y5htFxYEGfLwhqIc+zhc/wmRBs4PIFDHaHCcGeD2N+nby6zn3lPHn62lqo4EJ W7BFZgLBGi2BLUTYtUOuMuZyWX44ZU/Dvi/sf03Zo+Rk7Xwe2AlQuS7PCXnGU7yJ6Clq T16g== X-Received: by 10.194.78.100 with SMTP id a4mr3357976wjx.106.1407257542150; Tue, 05 Aug 2014 09:52:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.219.42 with HTTP; Tue, 5 Aug 2014 09:51:52 -0700 (PDT) From: Goran Tepshic Date: Tue, 5 Aug 2014 18:51:52 +0200 Message-ID: Subject: Jailed apache24 and mod_rewrite/proxy issue To: freebsd-jail@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2014 16:52:25 -0000 Just set up the jail to run httpd from and I'm seeing critical erros in logs when mod_rewrite and mod_proxy are enabled. *mod_rewrite *error: [rewrite:crit] [pid 43447] (13)Permission denied: AH00666: mod_rewrite: > could not init rewrite_mapr_lock_acquire in child *mod_proxy *error: [proxy:crit] [pid 43447] (13)Permission denied: AH02479: could not init > proxy_mutex in child Not sure permissions of what are being denied as html in document root is being served just fine when these modules are disabled. I tried googling but found nothing but rubbish. Someone at ServerFault suggested enabling SysV IPC to jails but that kinda defeats the purpose of having services jailed, isn't? Could anyone shed some light on this? Thanks