Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 537BD90DA for ; Tue, 17 Apr 2012 19:01:57 +0000 (UTC) Received: (qmail 4969 invoked by uid 500); 17 Apr 2012 19:01:54 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 4933 invoked by uid 500); 17 Apr 2012 19:01:54 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 4925 invoked by uid 99); 17 Apr 2012 19:01:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2012 19:01:54 +0000 X-ASF-Spam-Status: No, hits=3.5 required=5.0 tests=SPF_PASS,URIBL_BLACK X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.163.129.117] (HELO xs.adaptr.nl) (83.163.129.117) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2012 19:01:46 +0000 Received: from [10.10.10.100] (unknown [10.10.10.100]) by xs.adaptr.nl (Postfix) with ESMTPSA id 3VXG7C1TZgzPr1L for ; Tue, 17 Apr 2012 21:02:47 +0200 (CEST) Message-ID: <4F8DBE04.6090005@adaptr.nl> Date: Tue, 17 Apr 2012 21:01:24 +0200 From: Jeroen Geilman User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: users@httpd.apache.org References: <201204171148.21342.john.iliffe@iliffe.ca> <16DF7AD5-BEE9-49B4-8DA7-E35244839A01@gmail.com> In-Reply-To: <16DF7AD5-BEE9-49B4-8DA7-E35244839A01@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [users@httpd] Apache 2.4.1 Installation problems On 2012-04-17 18:02, Mathijs Schmittmann wrote: A. Your mail becomes unreadable Q. What happens when you top-post ? Also, try to avoid that Reply-to-all button... > 1: 2.4 uses different auth methods and directives, see http://httpd.apache.org/docs/2.4/upgrading.html and check out the authentication section. You probably either need the compat module, or a new access control directive is overriding your current directory section. > > 2: Apache 2.4 needs modules that are compiled with the new apr, so make sure to recompile your mod_php as well. > > Op 17 apr. 2012 om 17:48 heeft John Iliffe het volgende geschreven: > >> I am trying to update from 2.2.14 to 2.4.1 and have encountered two >> problems. 2.2.14 has been working properly for over 2 years. Pages are >> located on a separate directory starting at /www with subdirectories s1, >> s2, etc for different named virtual hosts. Config file for EACH virtual host >> shows document root as /www/s1, /www/s2, etc as relevant. >> >> 1. Apache will start properly but gives a "Not Authorized" message when >> any page is to be served. >> >> Log: >> >> [Mon Apr 16 13:02:31.267819 2012] [authz_core:error] [pid 23033:tid >> 1100290368] [client 192.168.1.1:41839] AH01630: client denied by server >> configuration: /www/s2/, referer: http://www.xxxxx.ca/url0001.html >> [Mon Apr 16 13:02:38.965404 2012] [authz_core:error] [pid 23033:tid >> 1110780224] [client 192.168.1.1:41842] AH01630: client denied by server >> configuration: /www/s1/, referer: http://www.xxxxxx.ca/url0001.html >> >> A search of the Apache archives suggests that this is a config problem >> requiring a entry so I set up: >> >> # Allow the directory where we store the pages -- 2012-04-15 >> >> Options FollowSymLinks >> Order Allow,Deny >> Allow from all >> >> >> I tried a number of variations such as putting this in each of the virtual >> host containers, putting a /* on the end, including it once before all the >> virtual host declarations, etc. >> >> Still get same problem. >> ---------------------------------------------------------------------- >> >> Second problem: >> >> Many of the pages are written in PHP and I have PHP installed on the server >> and used by 2.2.14. I copied the module libphp5.so into the modules >> directory and added a LoadModule directive as follows: >> >> LoadModule php5_module modules/libphp5.so >> >> (This line has to be commented out to start Apache) >> >> When I try to start up Apache I get the following error: >> >> /usr/apache-2.4.1/bin/apachectl -k start >> httpd: Syntax error on line 153 of /usr/apache-2.4.1/conf/httpd.conf: >> Cannot load /usr/apache-2.4.1/modules/libphp5.so into server: >> /usr/apache-2.4.1/modules/libphp5.so: undefined symbol: unixd_config >> >> What causes this and what is the solution? >> >> Thanks. >> >> John >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >> For additional commands, e-mail: users-help@httpd.apache.org >> > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org