[See last paragraph in previous response below]

    This is exactly what I am talking about.  On Apache 1.3, at least the NetWare 
platform bases the server_root off of argv[0] path.  This get us to a good default 
location no matter where the user decided to install the product.  Is it fair to say 
that at least all non-unix platforms (if not all platforms) would be better off basing 
server_root off of argv[0] rather than guessing at a hard-coded path?  I know it would 
make more since on NetWare.  OK, I know we always have the -d and -f command line 
parameters, but lets not force a parameter use if we don't have to.

Brad

>>> [EMAIL PROTECTED] Thursday, September 13, 2001 10:28:29 AM >>>
On Thu, 13 Sep 2001 09:08:53 -0600, Brad Nicholes wrote:

>   Thank you for the feedback but I am still concerned about how this is going to 
>work on NetWare.  Here are the reasons why:
>
>1) NetWare like Win32 and OS2, does not have a configure utility therefore 
>config.layout will do us no good at all.  In fact 99% of the compile time 
>configuration is meaningless to us mostly due to the next reason.

Just for the record, I DO use configure on OS/2. (and yes, that's how it
should be written. The / only gets left out because it can't be included in
a file name :)

This is possible because most common unix utilities have been ported to
OS/2, including autoconf. However, few end users have them all installed so
most will run the binary package I build, putting them in the same
situation as Netware users in that they must either install in the same
place I did or specify the location with a switch. There's also no file
system standard so anything I pick isn't going to suit many people.

Wouldn't it make sense on most (all?) non unix platforms for the server
root & config files' default location to be relative to either the httpd
executable or the CWD at start-up?

-- 
 ______________________________________________________________________________
 |  Brian Havard                 |  "He is not the messiah!                   |
 |  [EMAIL PROTECTED]  |  He's a very naughty boy!" - Life of Brian |
 ------------------------------------------------------------------------------


Reply via email to