Date: Wed, 15 Mar 2000 11:20:18 -0800 (PST) From: R Joseph Wright <rjoseph@nwlink.com> To: Craig Burgess <craig-burgess@home.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: httpd pid Message-ID: <Pine.BSF.4.21.0003151110320.11345-100000@mammalia.sea> In-Reply-To: <38CFDFF4.E63C94C@home.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 15 Mar 2000, Craig Burgess wrote: > R Joseph Wright wrote: > [lots trimmed] > > > However, now that it works, I'm still confused why ServerRoot is set for > > /usr/local. > > It is *a* place -- a starting point. You can change it to suit you. My > server root is /usr/local/http/data which matches (of course) the > absolute path to my html documents. Of course other changes need to be > made accordingly (e.g., for cgi). Symbolic links can also be used. (I > think it should be obvious why one would NOT want the ServerRoot to be > where the configuration files are.) > But right now, by default, it looks for configuration files under etc/apache relative to ServerRoot /usr/local, in other words it is looking in /usr/local/etc/apache for httpd.conf. If I were to change ServerRoot to, say, /usr/local/http/data, it would look for httpd.conf under /usr/local/http/data/etc/apache, which doesn't exist. I'd have to move everything around, including the path to the modules, etc. This is exactly the original problem I had. I originally set ServerRoot to /usr/local/etc/apache. It then looked for the files under /usr/local/etc/apache/etc/apache, which doesn't exist. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003151110320.11345-100000>