Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 14074 invoked by uid 6000); 12 Oct 1998 08:40:07 -0000 Received: (qmail 13523 invoked by uid 2001); 12 Oct 1998 08:40:01 -0000 Date: 12 Oct 1998 08:40:01 -0000 Message-ID: <19981012084001.13522.qmail@hyperreal.org> To: apache-bugdb@apache.org Cc: apache-bugdb@apache.org, From: "Gilles L. Chong Hok Yuen" Subject: Re: config/3175: Apache always points to ServerRoot/share/htdocs/ Reply-To: "Gilles L. Chong Hok Yuen" Sender: apache-bugdb-owner@apache.org Precedence: bulk The following reply was made to PR config/3175; it has been noted by GNATS. From: "Gilles L. Chong Hok Yuen" To: Marc Slemko Cc: apbugs@hyperreal.org Subject: Re: config/3175: Apache always points to ServerRoot/share/htdocs/ Date: Mon, 12 Oct 1998 16:30:38 +0800 Ok, i found out that somehow the httpd always looks in the /../apache_1.3.2/etc for the config files! If i put the *.conf in there, then the server starts up with the proper document root (specified in the /../apache_1.3.2/etc/srm.conf). Why httpd looks in ../apache_1.3.2/etc when i specify the ServerRoot in httpd.conf as /../apache_1.3.2/ is a mystery?! Also in my startserver command (see below), i indicate the httpd to point to another specific directory! I would like to know which httpd to use for Apache 1.3.2 (in the /sbin or /src subdirectory)? My startserver command line goes like: /../apache_1.3.2/src/httpd -f /../apache_1.3.2/conf/httpd.conf If i do not put my *.conf files in /../apache_1.3.2/etc and starts the /src/httpd, then the server does NOT start: "httpd: could not open document config file /opt/apache_1.3.2/etc/httpd.conf" And yes, for every change in the *.conf files, i stop n start the server. Puzzled G. (!) Marc Slemko wrote: > On 10 Oct 1998, Gilles Chong wrote: > > > >Description: I am trying to set up Apache 1.3.2. Im getting the > > Apache Test page all the time even though i set up my DocumentRoot > > (srm.conf) to another directory. > > Are you sure about this? > > Did you change the DocumentRoot and restart the webserver? > > Are you sure you are editing the proper copy of the config files? If you > put some garbage in (eg. "adlfkjaskfljsdl") your config file, does Apache > refuse to start? -- Gilles Chong (glchy@cc21.com.sg, glchy@csah.com) Systems Engineer, Internet Division CSA Automated Pte Ltd, Singapore.