httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@znep.com>
Subject Re: [PATCH] use /usr/local/apache2
Date Tue, 03 Apr 2001 05:21:28 GMT
On Tue, 3 Apr 2001 pmoore@axa.com.au wrote:

> well.....IIRC it was to be on a platform specific basis.
> for example BeOS does not want to use /usr/local/apache2 but
> /boot/home/apache2 and i'm sure there are variants on other platforms.

well, that is a different issue.

There is an "Apache" layout.  It can be used on any platform, and is the
default unless there is some reason to override it on a platform.  That
layout should be used, and should point to /usr/local/apache or
/usr/local/apache2.  Right now /usr/local is the default, which is
horrible.  And it doesn't really use the "Apache" layout from
config.layout, just something roughly copied from that into configure.in

The "Apache" layout is reasonable to use on nearly any "real" Unixy
platform.

Then, various platforms can have their own layouts, as defined in
config.layout.  I don't think it is wise to have the default be some
wildly differing thing for each platform that tries to conform to that
platform's particular conventions.  Doing so results in a never-ending
nitpicking of "no, this platforms standards are more like this" and makes
life inconsistent for Apache users.  However, for some platforms that are
less unixy than most and don't even have the concept of a /usr/local that
Apache can fit in, it may make sense to use a default layout that isn't
"Apache".  That is a completely different issue.

BTW, along with this change I will s/logdir/logfiledir/ because right now
it is inconsistent, meaning it don't work right.

> regards
> peter
> 
> ---------------------------------------------------------------------------
> -------------------------------------
> Peter Moore                   Director
> Contractor,                   CDWS
> ITeG,                         http://www.cdws.com.au/
> Axa Australia                 peter@cdws.com.au
> ---------------------------------------------------------------------------
> -------------------------------------
> 
> 
> 
> 
> 
> Marc Slemko <marcs@znep.com> on 03/04/2001 01:51:50 PM
> 
> Please respond to new-httpd@apache.org
> 
> To:   TLOSAP <new-httpd@apache.org>
> cc:
> Subject:  [PATCH] use /usr/local/apache2
> 
> 
> 
> 
> There was some discussion earlier about making the default installation
> plug everything in below /usr/local/apache2.
> 
> I think the below patch does that, plus removes some unnecessary
> redundancy and makes the config.layout file be accurate when it says
> "Apache layout is the default".
> 
> But.  I am not too familiar with the apache2 build stuff, so a second
> opinion would be appreciated before I commit this...
> 
> Index: acinclude.m4
> ===================================================================
> RCS file: /home/cvs/httpd-2.0/acinclude.m4,v
> retrieving revision 1.73
> diff -u -r1.73 acinclude.m4
> --- acinclude.m4    2001/04/02 19:05:59  1.73
> +++ acinclude.m4    2001/04/03 03:46:32
> @@ -348,16 +348,9 @@
>  ])
> 
>  if test -z "$LAYOUT"; then
> -  htdocsdir='$(prefix)/htdocs'
> -  iconsdir='$(prefix)/icons'
> -  cgidir='$(prefix)/cgi-bin'
> -  logdir='$(prefix)/logs'
> -  sysconfdir='${prefix}/conf'
> -  libexecdir='${prefix}/modules'
> -  layout_name=Apache
> -else
> -  APACHE_LAYOUT($srcdir/config.layout, $LAYOUT)
> +  LAYOUT="Apache"
>  fi
> +APACHE_LAYOUT($srcdir/config.layout, $LAYOUT)
> 
>  AC_MSG_CHECKING(for chosen layout)
>  AC_MSG_RESULT($layout_name)
> Index: config.layout
> ===================================================================
> RCS file: /home/cvs/httpd-2.0/config.layout,v
> retrieving revision 1.2
> diff -u -r1.2 config.layout
> --- config.layout   2000/12/22 11:58:55  1.2
> +++ config.layout   2001/04/03 03:46:33
> @@ -11,7 +11,7 @@
> 
>  #   Classical Apache path layout.
>  <Layout Apache>
> -    prefix:        /usr/local/apache
> +    prefix:        /usr/local/apache2
>      exec_prefix:   $prefix
>      bindir:        $exec_prefix/bin
>      sbindir:       $exec_prefix/bin
> 
> 
> 
> 
> 
> 
> 
> **********************************************************************
> Important Note
> This email (including any attachments) contains information which is 
> confidential and may be subject to legal privilege.  If you are not 
> the intended recipient you must not use, distribute or copy this 
> email.  If you have received this email in error please notify the 
> sender immediately and delete this email. Any views expressed in this 
> email are not necessarily the views of AXA.   Thank you.
> **********************************************************************
> 


Mime
View raw message