Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 2010 16:11:32 -0500
From:      Kevin Kinsey <kdk@daleco.biz>
To:        "Michael W. Lucas" <mwlucas@blackhelicopters.org>
Cc:        questions@freebsd.org
Subject:   Re: apache22 build problem: cgi disabled
Message-ID:  <4C509D04.2030403@daleco.biz>
In-Reply-To: <20100728162043.GA51024@bewilderbeast.blackhelicopters.org>
References:  <20100728162043.GA51024@bewilderbeast.blackhelicopters.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C509D04.2030403>