From owner-freebsd-doc@FreeBSD.ORG Sat Dec 26 07:26:41 2009 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B3E81065679; Sat, 26 Dec 2009 07:26:41 +0000 (UTC) (envelope-from sat@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D596B8FC13; Sat, 26 Dec 2009 07:26:40 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBQ7QebD048405; Sat, 26 Dec 2009 07:26:40 GMT (envelope-from sat@freefall.freebsd.org) Received: (from sat@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBQ7QecF048401; Sat, 26 Dec 2009 07:26:40 GMT (envelope-from sat) Date: Sat, 26 Dec 2009 07:26:40 GMT Message-Id: <200912260726.nBQ7QecF048401@freefall.freebsd.org> To: i.galic@brainsware.org, sat@FreeBSD.org, freebsd-doc@FreeBSD.org From: sat@FreeBSD.org Cc: Subject: Re: docs/141937: [handbook] FreeBSD Handbook on Apache/PHP needs updating 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 Dec 2009 07:26:41 -0000 Synopsis: [handbook] FreeBSD Handbook on Apache/PHP needs updating State-Changed-From-To: open->closed State-Changed-By: sat State-Changed-When: Sat Dec 26 07:16:08 UTC 2009 State-Changed-Why: Igor, thanks for your report! The Handbook section deals with Apache 1.3.x, as is explicitly stated in the overview. The version is still widely used. As for the port specification in VirtualHost directive, the Apache manual gives its examples without it and explains that "it defaults to the same port as the most recent Port statement of the main server". To match all ports on all addresses, I think we would need to specify "*:*". http://httpd.apache.org/docs/1.3/mod/core.html#virtualhost As for the the way PHP is enabled, the IfModule wrapper is a convenience, since it allows to disable all PHP-related configuration by commenting just one line. The AddType statements are the recommended way to enable PHP in Apache 1.3.x: http://www.php.net/manual/en/install.unix.apache.php http://www.freebsd.org/cgi/query-pr.cgi?pr=141937