Subject: Re: apache2 modules?
To: Juan RP <juan@netbsd.graffitipr.org>
From: MLH <mlh@goathill.org>
List: tech-pkg
Date: 06/22/2004 16:57:51
> 
> On Tue, 22 Jun 2004 16:39:41 -0500 (CDT)
> mlh@goathill.org (MLH) wrote:
> 
> > But the PLIST doesn't install them anywhere. Were they simply
> > overlooked or am I missing something? Where should the modules go
> > for apache2?
> 
> [juan@Mandylion][~]> ls -l /usr/pkg/lib/httpd
> total 2886
> -rw-r--r--  1 root  wheel     8387 Apr 19 04:07 httpd.exp
> -rwxr-xr-x  1 root  wheel    11174 May 29 15:33 mod_authz_svn.so
> -rwxr-xr-x  1 root  wheel    88182 May 29 15:33 mod_dav_svn.so
> -rwxr-xr-x  1 root  wheel   144621 May 27 18:06 mod_jk2.so
> -r--r--r--  1 root  wheel  1202290 May 28 17:46 mod_php4.so
> [juan@Mandylion][~]>
> 
> This is what I have, and I got some packages installed, like apache-tomcat,
> ap-php, ap2-subversion.
&& 
> I think that they are built inside the httpd binary AFAIK, please correct me if
> I'm wrong.

Some are inside, some aren't:

LoadModule proxy_module modules/mod_proxy.so  :
$ /etc/rc.d/apache start
Starting apache.
Syntax error on line 281 of /usr/pkg/etc/httpd/httpd.conf:
module proxy_module is built-in and can't be loaded

LoadModule proxy_ftp_module modules/mod_proxy_ftp.so  :
$ /etc/rc.d/apache start
Starting apache.
Syntax error on line 282 of /usr/pkg/etc/httpd/httpd.conf:
Cannot load /usr/pkg/modules/mod_proxy_ftp.so into server: Cannot open
"/usr/pkg/modules/mod_proxy_ftp.so"

$ ls -l  /usr/pkg/modules/
ls: /usr/pkg/modules/: No such file or directory

$ ls -l /usr/pkg/lib/httpd/
total 1281
-rw-r--r--  1 root  wheel     8387 Jun 16 17:52 httpd.exp
-r--r--r--  1 root  wheel  1289266 Jun 16 17:57 mod_php4.so