From owner-freebsd-doc@FreeBSD.ORG Sat Nov 26 11:09:29 2011 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 845F4106564A for ; Sat, 26 Nov 2011 11:09:29 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0F5548FC14 for ; Sat, 26 Nov 2011 11:09:28 +0000 (UTC) Received: by mail-bw0-f54.google.com with SMTP id zs8so7047868bkb.13 for ; Sat, 26 Nov 2011 03:09:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=4fvnkmcwT2hRxAqj7gTFsTkdvvcep/wlbG2/KzUUx5g=; b=KGbbALCXjC5eAyuogBhvJ/6YOVALCCGYnHWtwVS1+y4zkJ7Q0ALMWyHn2UnXVD1NBd 3h6EQ+cTn8U9CYPDJG1NQeAV3c/vfixAdlC1nMX2k7VmKJZdeTjnoaSvB5bfLGthtnzU DTt7mPcA9dPw3dUzdyV0MU/uF82hH+Ala8pCY= Received: by 10.204.130.85 with SMTP id r21mr36859587bks.38.1322305768546; Sat, 26 Nov 2011 03:09:28 -0800 (PST) Received: from [192.168.0.150] (athedsl-4364788.home.otenet.gr. [79.130.9.228]) by mx.google.com with ESMTPS id l26sm31728982fad.17.2011.11.26.03.09.26 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 26 Nov 2011 03:09:27 -0800 (PST) Message-ID: <4ED0C8E8.4080409@gmail.com> Date: Sat, 26 Nov 2011 13:09:28 +0200 From: Manolis Kiagias User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: Mniyardfa Jotawski References: <201111250016.pAP0G2kX017806@red.freebsd.org> <4ECFB36C.5060309@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-doc@freebsd.org Subject: Re: docs/162862: DESTDIR environment variable setting is not correct for apache22 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2011 11:09:29 -0000 On 26/11/2011 1:07 πμ, Mniyardfa Jotawski wrote: > 2011/11/25 Manolis Kiagias > > > Hi, > > > Hi, > > The example is not specific to apache22 or in fact any specific > web server. You don't have to use apache to serve FreeBSD web > pages. The /usr/local/www is used as a common preference (or hint) > as /usr is the largest partition on most FreeBSD systems following > the default installation scheme. You are supposed to know how to > install / configure a web server and adapt these instructions to > your specific installation. > IMHO, if we add apache specific information to this section we > will also have to add more sections describing basic > configuration for serving the pages (like setting DocumentRoot, > encoding etc.). I believe these are out of scope for this document. > > > I did agree with your opinion but since I specifically aimed to > apache2, as I wrote in my Problem Description: , that requires that > documents to serve should be in (or under) DocumentRoot which is > /usr/local/www/apache22. But once I follow suggestion in FDP Primer > chapter 8.3, that installs all documents to /usr/local/www/data. In > this case, I have to create apache22 subdirectory under what DESTDIR > environment variable points to and mv all data/ into that in order for > my apache2 to start quietly. What you would really need to do is change the DESTDIR shown in the example to: env DESTDIR=/usr/local/www/apache22 make install As I said, the example is not to be taken literally. DESTDIR should be set to your own DocumentRoot (or whatever is called by the web server used) and not copied directly from fdp-primer. > > Anyway, I also see that there will be an endless Notes to mention to > the readers if we wrote to a specific web-server like apache as you > said me. > > May be that we put a few words to mention further works after ``make > all install'' for some specific server or all documents will have to > be installed to ~/public_html/data otherwise. > Not necessary if DESTDIR is set correctly beforehand > Many thanks indeed for your time. > > Apologized me for disturbing and apologized me for my English too. > > > You are not disturbing, you are trying to make FreeBSD better! Thanks!