Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Sep 1995 17:12:57 -0700
From:      Paul Traina <pst@shockwave.com>
To:        John Fieber <jfieber@indiana.edu>
Cc:        CVS-commiters@freefall.freebsd.org, cvs-ports@freefall.freebsd.org
Subject:   Re: cvs commit: ports/net/apache/scripts configure 
Message-ID:  <199509250013.RAA03399@precipice.shockwave.com>
In-Reply-To: Your message of "Sun, 24 Sep 1995 18:28:45 CDT." <Pine.BSF.3.91.950924181332.333A-100000@fieber-john.campusview.indiana.edu> 

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

  From: John Fieber <jfieber@indiana.edu>
  Subject: Re: cvs commit: ports/net/apache/scripts configure
  On Sat, 23 Sep 1995, Paul Traina wrote:
  
  >   Log:
  >   Upgrade apache to 0.8.14, completely restructure port, and list myself as
  >   maintainer.
  
  Gee... And I just spent a bunch of time working on this this!
  
  
  Well, I do have a couple suggestions though.
  
  1) Can we install the binary as /usr/local/libexec/httpd?

Agreed, 100%.
  
  2) Currently DocumentRoot is $PREFIX/www while ServerRoot
     is $PREFIX/www/server.  This is a Bad Thing since it
     makes all the server configuration files freely available
     to anybody poking around with a WWW browser.

     I would recommend making ServerRoot $PREFIX/www and
     DocumentRoot $PREFIX/www/data (or htdocs, or documents, or
     whatever).

Yes, I changed mine to $PREFIX/www/data (the document root), and left
$PREFIX/www/server alone.  This makes it a peer with $PREFIX/www/icons.

I have no objection to making this change, and will do so if you don't
think it will hose up too many folks.

  3) Which brings up another point.  httpd.conf, access.conf and srm.conf 
     all need to be altered in the event of $PREFIX being something other than 
     /usr/local.  Its easy enough to do when installing a port, but I'm not
     aware of the mechanism used for packages...

Neither am I, however I think most people don't dare install packages in
alternate locations anyway because almost every package is laden with
problems like this.  I'm open for suggestions.
  
     Related, While mucking around with those file, its pretty easy to insert a
     correct hostname for ServerAdmin instead of "localhost". 

Agreed, but compile host != run host,  I'd rather not make a bad guess.
  
  
  -john
  
  == jfieber@indiana.edu ===========================================
  == http://fieber-john.campusview.indiana.edu/~jfieber ============
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509250013.RAA03399>