Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 1999 17:41:47 +0500
From:      Konstantin Chuguev <joy@urc.ac.ru>
To:        freebsd-isp@FreeBSD.ORG
Subject:   PATCH for Apache: Add FreeBSD Server Layout
Message-ID:  <369DE60B.7B350962@urc.ac.ru>
References:  <199901140039.QAA31642@scv2.apple.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi.

There are some patches now proposed on the new-httpd@apache.org mailing list
about adding layouts of various OSes to the Apache distribution.

Aren't people making Apache ports bothered of patching its Configure and
Makefile.tmpl for every version of Apache? ;-)
Let's make a layout once. It's easy, because FreeBSD has kind of strict
(conservative) software layout.

It is possible to add the FreeBSD layout to Apache's config.layout
distribution file. The addition is like this (most values taken from
the port; htdocsdir, iconsdir and cgidir are taken from a newly proposed
patch for Apache, proxycachedir as I know has no strict layout):

------
#   FreeBSD Layout
<Layout FreeBSD>
    prefix:        /usr/local
    exec_prefix:   $prefix
    bindir:        $exec_prefix/bin
    sbindir:       $exec_prefix/sbin
    libexecdir:    $exec_prefix/libexec
    mandir:        $exec_prefix/man
    sysconfdir:    $prefix/etc
    datadir:       $prefix/www/data
    htdocsdir:     $prefix/www/htdocs
    iconsdir:      $prefix/www/icons
    cgidir:        $prefix/www/cgi-bin
    includedir:    $prefix/include/apache
    localstatedir: /var
    runtimedir:    $localstatedir/run
    logfiledir:    $localstatedir/log
    proxycachedir: $localstatedir/spool/webcache
</Layout>
------

All this needs discussion...
Your opinions?

--
	Konstantin V. Chuguev.		System administrator of Southern
	http://www.urc.ac.ru/~joy/	Ural Regional Center of FREEnet,
	mailto:joy@urc.ac.ru		Chelyabinsk, Russia.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?369DE60B.7B350962>