Subject: Compiling mod_perl in with apache as DSO
To: None <netbsd-help@netbsd.org>
From: Radhika Sambamurti <radhika@88thstreet.com>
List: netbsd-help
Date: 10/20/2006 09:08:44
Hi,
I have the following currently installed. I am running Netbsd 3.0.
I would like to run mod_perl as well. Compiling mod perl separately from
the ap-perl pkg is not working. I realize I may need to modify the
Makefile in apache to make this possible.
Has anybody had any success making mod_perl from the ap-perl pkg and
loading it in with the loadModule line in httpd.conf or is there a change
I need to make in the apache makefile to pull in this module?
Thanks.
apache-1.3.34nb6 Apache HTTP (Web) server
ap-php-4.4.2nb6 Apache (apache13) module for PHP4
ap-ssl-2.8.25nb2 SSL/TLS protocols module for Apache
Apache was built as follows:
bash-3.1# httpd -V
Server version: Apache/1.3.34 (Unix)
Server built: Oct 19 2006 20:59:58
Server's Module Magic Number: 19990320:18
Server compiled with....
-D EAPI
-D EAPI_MM
-D EAPI_MM_CORE_PATH="/var/run/httpd.mm"
-D HAVE_MMAP
-D HAVE_SHMGET
-D USE_MMAP_SCOREBOARD
-D USE_MMAP_FILES
-D HAVE_FLOCK_SERIALIZED_ACCEPT
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D DYNAMIC_MODULE_LIMIT=64
-D HARD_SERVER_LIMIT=256
-D HTTPD_ROOT="/usr/pkg"
-D SUEXEC_BIN="/usr/pkg/sbin/suexec"
-D DEFAULT_PIDLOG="/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard"
-D DEFAULT_LOCKFILE="/var/run/httpd.lock"
-D DEFAULT_ERRORLOG="/var/log/httpd/error_log"
-D TYPES_CONFIG_FILE="etc/httpd/mime.types"
-D SERVER_CONFIG_FILE="etc/httpd/httpd.conf"
-D ACCESS_CONFIG_FILE="etc/httpd/access.conf"
-D RESOURCE_CONFIG_FILE="etc/httpd/srm.conf"
bash-3.1# httpd -l
Compiled-in modules:
http_core.c
mod_vhost_alias.c
mod_env.c
mod_log_config.c
mod_mime_magic.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_info.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_speling.c
mod_userdir.c
mod_alias.c
mod_rewrite.c
mod_access.c
mod_auth.c
mod_auth_anon.c
mod_auth_db.c
mod_digest.c
mod_cern_meta.c
mod_expires.c
mod_headers.c
mod_usertrack.c
mod_log_forensic.c
mod_unique_id.c
mod_so.c
mod_setenvif.c
suexec: disabled; invalid wrapper /usr/pkg/sbin/suexec
--
It is all a matter of perspective. You choose your view by choosing where
to stand.
Larry Wall
---