On Wednesday 12 September 2001 03:36 pm, Brad Nicholes wrote:
> In httpd.h there are a number of hard coded paths that define the
> default server home directory. Looking at the code, it appears that if the
> user does not specify a -f parameter when starting apache, it will
> automatically look for the .CONF file in HTTPD_ROOT/conf/httpd.conf. This
> means that if HTTPD_ROOT for platform XX is defined as "/apache" but the
> user decided to install apache to "/apch", Apache would never find the
> httpd.conf file unless the -f <location> is defined on the command line.
> Leaving the default hard coded on NetWare would cause a problem. If
> HTTPD_ROOT were defined as "/apache" as on other platforms, NetWare will
> always default to "SYS:/Apache" which it many cases would be wrong since
> most apache users do not install add on software on the SYS: volume. Hard
> coding a volume name would always be wrong since the volume name is a user
> definable value. Wouldn't it make more since to define the default server
> home directory as getcwd() instead of a hard coded path?
This is why we have config.layout. Define the correct layout for Netware, and
as long as the server is configured with that layout, this problem will go away.
The hard-coded stuff is just a default, almost everybody overrides the defaults
with whatever is correct for their platform.
Ryan
______________________________________________________________
Ryan Bloom [EMAIL PROTECTED]
Covalent Technologies [EMAIL PROTECTED]
--------------------------------------------------------------