httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <>
Subject Re: [BUG]: "cmd line -f <config> doesn't work for relative paths" on Solaris 2.x (fwd)
Date Tue, 18 Feb 1997 17:21:13 GMT
If you try:
   httpd -c ./bar/foo

you should get something like:

   httpd: could not open document config file /usr/local/etc/httpd/./bar/foo

That is as it should be.  It does not use the ServerRoot in the config
file to find the config file (how could it?  If it hasn't found the 
config file it can't look it in to know where to look...) but rather
the HTTPD_ROOT defined in httpd.h.  Is this not what you are seeing?

I guess the docs could use clarification.  Is this the man page you
got that from?

> ---------- Forwarded message ----------
> Date: Mon Feb 17 13:58:27 1997
> From:
> To:
> Subject: [BUG]: "cmd line -f <config> doesn't work for relative paths" on Solaris
> Submitter:
> Operating system: Solaris 2.x, version: 2.5.1
> Version of Apache Used: 1.2b6
> Extra Modules used: 
> URL exhibiting problem: 
> Symptoms:
> --
> The doc says you can start Apache with the
> "-f config" arg, where "If config does not begin
> with a /, then it is taken to be a path relative
> to the ServerRoot. The default is
> conf/httpd.conf." But given a relative path or
> defaulting this arg, it looks in a hard-wired
> directory, not in the ServerRoot.
> Giving an absolute pathname to the -f arg works.
> --
> Backtrace:
> --
> --

View raw message