RE: mod_perl rpm ready for testing

1999-10-15 Thread David Harris


Miguel A.L. Paraz wrote:
 On Wed, Oct 13, 1999 at 04:24:55PM -0400, David Harris wrote:
 Thanks a lot for solving my long-standing problem of building a static
 mod_perl system that allows loading of modules and is compatible with the
 Red Hat RPM.  I initially didn't bump into problems when doing simple
 stuff and HTML::EmbPerl but when I started working with the WING web e-mail
 system I had all sorts of problems.

Does this mean that you've gotten my RPM to work for you in places where the
Red Hat mod_perl RPM did not? If so, good, and I'll continue with releasing
this stuff up on the web. Expect it to be done sometime later today.

 Sometime in the future I would need Apache-SSL with mod_perl, so I guess
 I could use your work as a starting point.

I'm probably going to make a version for myself that has EAPI integrated, so
that it will mesh properly with my apache-mod_perl RPM that I've got. I doubt
that I'll end up distributing that version because of crypto hook export
problems.

 - David Harris
   Principal Engineer, DRH Internet Services





mod_perl rpm ready for testing

1999-10-13 Thread David Harris

Hi,

I've just completed the first copy of the mod_perl RPM that I said I was going
to create about a week ago. Sorry this took so long, I had a whole bunch of
things that needed to be done first.

The files are up at:
http://www.davideous.com/modperlrpm/distrib/

Features of this RPM:
 - installs mod_perl as an "add in" to the red hat apache
   package, but does not install mod_perl as a DSO and
   all the problems that brings (more details in the appended
   README.RPM file)
 - includes the four header files required for building
   libapreq (libapreq package will follow shortly)
 - distributes plain text forms of the pod documentation
   files that come with mod_perl
 - checks the module magic number on the existing apache
   package to see if things are compatible

I've appended a copy of the README.RPM file distributed with this package which
explains how I went about packing this stuff to make it work like a "add in"
but not make it a DSO.

I'd appreciate it if some people could give this package a whirl using some of
the advanced mod_perl features that don't work in the DSO. This would really
help my confidence that this approach really works. Also, if somebody (perhaps
Geoffrey S Young who was researching this, I think) has a listing of the
features that are broken in the DSO form, please send to the list - I'd like to
include it in the package documentation, and some people might be able to test
that stuff.

I know that this is not the latest copy of mod_perl or Apache. I just tossed
this out. When I get some positive feedback, I'll look at creating an Apache
1.3.9 version (for the red hat 6.1 folks) and try to get the latest mod_perl
version running for Apache 1.3.6.

 - David Harris
   Principal Engineer, DRH Internet Services

=


README.RPM
notes on this un-conventional RPM packaging of mod_perl

by David Harris [EMAIL PROTECTED]
on Oct 13, 1999


This package will install the mod_perl library files on your machine
along with the following two Apache files:

  /usr/lib/apache/mod_include_modperl.so
  /usr/sbin/httpd_modperl

This package does not install a complete apache subtree built with
mod_perl, but rather just the two above files that are different
for mod_perl.  This conceptually thinks of mod_perl as a kind of an
"add on" that we would like to add to the regular apache tree. However,
we are prevented from distributing mod_perl as an actual DSO, because it
is not recommended by the mod_perl developers and various features must
be turned off. So, instead, we distribute a httpd binary with mod_perl
statically linked (httpd_modperl) and the special modified mod_include.so
required for this binary (mod_include_modperl.so).  You can use the exact
same configuration files and other DSO modules, but you just "enable"
the mod_perl "add on" by following the below directions.

To enable mod_perl, do the following:

  (1) Configure /etc/rc.d/init.d/httpd to run httpd_modperl instead of
  httpd by chaning the "daemon" command line.
  (2) Replace mod_include.so with mod_include_modperl.so in the
  module loading section of /etc/httpd/conf/httpd.conf
  (3) Uncomment the "AddModule mod_perl.c" line in /etc/httpd/conf/httpd.conf

Or run the following command: (and the other version to disable mod_perl)

  /usr/sbin/modperl-enable on
  /usr/sbin/modperl-enable off