Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2000 03:43:46 -0500 (EST)
From:      Jim Weeks <jim@siteplus.net>
To:        Troy Settle <troy@psknet.com>
Cc:        freebsd-isp@freebsd.org, freebsd-ports@freebsd.org
Subject:   RE: apache-ssl-php4-fp solution
Message-ID:  <Pine.BSF.4.21.0011270336460.339-100000@veager.siteplus.net>
In-Reply-To: <GIEHKBHPBGKJPNMBCOHFCEAICAAA.troy@psknet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Troy,

One other note on this subject.  Before trying to build apache13-modssl, 
be sure Openssl is up to date. 

--
Jim Weeks


On Mon, 27 Nov 2000, Troy Settle wrote:

> 
> Jim,
> 
> Excellent job on the homework.  I'm going to be rebuilding a box this week,
> and greatly appreciate your pointers.  I was going to see what the heck I
> needed to do to accomplish this.
> 
> Perhaps you could contact the apache13-fp maintainer and help him/her turn
> it into apache13-fp-modssl, which would be a very nice thing to have, since
> those 2 mods require patches to the source.
> 
> Honestly though, I don't understand why the FP patches haven't been
> integrated into the apache code-base.  An option to configure could easily
> enable/disable the feature (or bug for some :).
> 
> My $.02,
> 
> --
>   Troy Settle
>   Pulaski Networks
>   540.994.4254
> 
> It's always a long day, 86400 doesn't fit into a short.
> 
> 
> ** -----Original Message-----
> ** From: owner-freebsd-isp@FreeBSD.ORG
> ** [mailto:owner-freebsd-isp@FreeBSD.ORG]On Behalf Of Jim Weeks
> ** Sent: Sunday, November 26, 2000 2:45 PM
> ** To: freebsd-isp@freebsd.org
> ** Cc: freebsd-ports@freebsd.org
> ** Subject: apache-ssl-php4-fp solution
> **
> **
> ** I will preface this by saying I am no authority in this field, but I
> ** have seen a few posts on this subject and hope this may help someone
> ** else in a simular situation.
> **
> ** To the matter at hand.  I had several production servers running
> ** 3.X-stable. All of these were running apache-ssl-php3-frontpage with php3
> ** and frontpage compiled into the binary and ssl as DSO. This presented a
> ** problem in upgrading to php4.  You may have noticed that there are a lot
> ** of new DSO modules in /usr/ports/www.  The problem is that some, such as
> ** mod_ssl, are  only available from RELENG_4, and seem to be 4.X dependent.
> **
> ** After building Apache a *lot* of different ways, including from
> ** source, I have come to this conclusion.  This task can be done
> ** easily with
> ** the ports collection, even for the 3.X platform.
> **
> ** First, you must download and install the FreeBSD version of frontpage
> ** extensions into /usr/local.  They may be found at,
> ** http://msdn.microsoft.com/workshop/languages/fp/2000/unixfpse.asp
> **
> ** Now, we can easily adapt /usr/ports/www/apache13-modssl.  This
> ** can be done
> ** by copying two files already present on the machine and making one entry
> ** in the Makefile.  Php4 "/usr/ports/www/mod_php4" can be added
> ** after apache
> ** has been compiled.
> **
> ** The first file:
> **
> ** Copy the apache frontpage patch "fp-patch-apache_1.3.12" from
> ** /usr/local/frontpage/version4.0/apache-fp/ to
> ** /usr/ports/www/apache13-modssl/files/ and rename it patch-aj
> **
> ** The second file:
> **
> ** $ cd /usr/ports/www/apache13-modssl
> ** $ cp ../apache13-fp/files/mod_frontpage.c \
> ** > files/mod_frontpage.c
> **
> ** Edit the Makefile:
> **
> ** Place "--add-module=mod_frontpage.c" near the bottom of the
> ** CONFIGURE_ARGS
> ** section.
> **
> ** Mine looks like this.
> **
> ** CONFIGURE_ARGS= --prefix=${PREFIX} \
> **                 --server-gid=nogroup \
> **                 --with-perl=${PERL} \
> **                 --with-layout=${FILESDIR}/FreeBSD.layout:FreeBSD \
> **                 --suexec-docroot=${PREFIX}/www/data \
> **                 --without-confadjust \
> **                 --enable-module=most \
> **                 --enable-module=auth_db \
> **                 --enable-module=mmap_static \
> **                 --disable-module=auth_dbm \
> **                 --enable-shared=max \
> **                 --enable-module=ssl \
> **                 --add-module=mod_frontpage.c \
> **                 --enable-module=define
> **
> ** Finish up:
> **
> ** $ make
> ** $ make certificate
> ** $ make install
> ** $ make clean
> **
> ** $ cd ../mod_php4
> ** $ make
> ** $ make install
> ** $ make clean
> **
> ** Appropriate entries for enabling mod_php4 will automatically be added to
> ** httpd.conf when the module is built.  You may need to add frontpage
> ** yourself.  Just add "AddModule mod_frontpage.c" to the AddModule list.
> **
> ** Good luck,
> **
> ** --
> ** Jim Weeks
> **
> **
> **
> **
> ** To Unsubscribe: send mail to majordomo@FreeBSD.org
> ** with "unsubscribe freebsd-isp" in the body of the message
> **
> **
> 
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0011270336460.339-100000>