Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jul 1998 15:35:57 -0500
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        "FreeBSD-Ports" <FreeBSD-Ports@FreeBSD.ORG>
Subject:   Apache13[-fp,-ssl,-fp-ssl] ports suggestions.
Message-ID:  <002401bdb80b$d446c240$c3e0d9cf@westbend.net>

next in thread | raw e-mail | index | archive | help
Should all new apache13 module ports be using apxs to create a DSO module,
instead of full apache servers with an additional module?  For example, say
some one has compiled apache13 port, and would like to add the XXX module to
his server.

Basically, a DSO port would need to do the following:

1. Depend on the Apache13[-FP][-SSL] ports to be installed.
2. Allow module installation to either the Apache13[-FP] or
Apache13[-FP]-SSL module locations. (Have SSL defined when installing to
Apache13[-FP]-SSL). See below for locations.
3. Optionally, Restart the appropriate server.

This will only work as long as the port doesn't require modifications to the
apache sources.  Currently, I know of two modules that can't be compiled
with apxs (FrontPage and the SSL modules) because they require source/header
modifications.  Thus I propose the following:

apache13/apache13-fp - these ports store all config, includes, and modules
in the apache directory.

../etc/apache
../include/apache
../libexec/apache
/var/log/httpd-*.log

apache13-ssl/apache13-fp-ssl - these ports store all config, includes, and
modules in the apache-ssl directory.  Also, any tool/program that also needs
these directories will have -ssl added to the end of it filename. NOTE: The
secure server is renamed to httpsd.

../etc/apache-ssl
../include/apache-ssl
../libexec/apache-ssl
/var/log/httpsd-*.log

This way we can keep both an httpd and a httpsd server installed on the same
server, with out disturbing the include files used for both servers, allows
separate configuration of the servers, ensures that incompatible modules are
not shared between servers, and allows new DSO modules to be added to each
server (apxs - apache[-fp] , apxs-ssl - apache[-fp]-ssl).

Currently, the apache-fp-ssl port installs in the apache-ssl directory.

How does everyone feel using different install locations for the
Apache13[-FP] and Apache13[-FP]-SSL ports?

Scot W. Hetzel
Apache-FP[-SSL] Maintainer


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?002401bdb80b$d446c240$c3e0d9cf>