From owner-freebsd-questions@FreeBSD.ORG Wed Jul 28 21:24:52 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5D0A1065670 for ; Wed, 28 Jul 2010 21:24:52 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 358258FC17 for ; Wed, 28 Jul 2010 21:24:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.14.3/8.14.2) with ESMTP id o6SLBduK094888; Wed, 28 Jul 2010 16:11:39 -0500 (CDT) (envelope-from kdk@daleco.biz) X-Virus-Scanned: amavisd-new at daleco.biz Received: from ezekiel.daleco.biz ([127.0.0.1]) by localhost (ezekiel.daleco.biz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id CSBJ7UrB4m46; Wed, 28 Jul 2010 16:11:36 -0500 (CDT) Received: from archangel.daleco.biz (ezekiel.daleco.biz [66.76.92.18]) by ezekiel.daleco.biz (8.14.3/8.14.3) with ESMTP id o6SLBW3h094884; Wed, 28 Jul 2010 16:11:33 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <4C509D04.2030403@daleco.biz> Date: Wed, 28 Jul 2010 16:11:32 -0500 From: Kevin Kinsey User-Agent: Thunderbird 2.0.0.24 (X11/20100504) MIME-Version: 1.0 To: "Michael W. Lucas" References: <20100728162043.GA51024@bewilderbeast.blackhelicopters.org> In-Reply-To: <20100728162043.GA51024@bewilderbeast.blackhelicopters.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: apache22 build problem: cgi disabled X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2010 21:24:52 -0000 Michael W. Lucas wrote: > Hi, > > I'm running a July 26 -current/amd64, both ports and userland, and it > seems that the newest apache22 doesn't build a lot of modules, such as > mod_cgi, mod_cache, etc. > > /var/db/ports/apache22/options includes (among other things): > > WITH_CGI=true > > make.conf defines only perl and sendmail.mc. > > The port's config.log shows: > > $ ./configure --prefix=/usr/local --enable-layout=FreeBSD --with-perl=/usr/local/bin/perl5.8.9 --with-port=80 --with-expat=/usr/local --with-iconv=/usr/local --enable-http --with-pcre=/usr/local --with-apr=/usr/local/bin/apr-1-config --with-apr-util=/usr/local/bin/apu-1-config --disable-authn-file --disable-authn-default --disable-authz-host --disable-authz-groupfile --disable-authz-user --disable-authz-default --disable-auth-basic --disable-charset-lite --disable-include --disable-log-config --disable-env --disable-setenvif --disable-mime --disable-status --disable-autoindex --disable-asis --disable-cgid --disable-cgi --disable-negotiation --disable-dir --disable-imagemap --disable-actions --disable-userdir --disable-alias --disable-filter --disable-proxy --disable-proxy-connect --disable-proxy-ftp --disable-proxy-http --disable-proxy-ajp --disable-proxy-balancer --disable-proxy-scgi --disable-reqtimeout --enable-so --enable-mods-shared=auth_basic auth_digest authn_file authn_dbm authn_anon authn_default authn_alias authz_host authz_groupfile authz_user authz_dbm authz_owner authz_default disk_cache file_cache dav dav_fs actions alias asis autoindex cern_meta charset_lite deflate dir dumpio env expires headers imagemap include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias version reqtimeout proxy_connect ssl --with-dbm=sdbm --with-ssl=/usr --disable-ipv6 --with-devrandom --with-mpm=prefork --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=amd64-portbld-freebsd9.0 > > There's a --disable-cgi in there, but no cgi listed after > --enable-mods. > > So, my FreeBSD options are set to enable CGI, but they aren't making > it down to the Apache build process. > > Am I doing something daft here, or should I file a PR? > > Thanks, > ==ml Not sure. Try something like: [12] Wed 28.Jul.2010 16:08:53 [kadmin@archangel][~] $cd /usr/ports/www/apache22 && sudo make show-modules | grep cgi cgi: enabled (shared) proxy_scgi: disabled cgid: disabled If "make show-modules" says "enabled" and the port still configures with "--disable-cgi", I'd definitely contact the maintainer and see what's up. My $.02, Kevin Kinsey