Try './apachectl configtest'. This will pick the current version. If apache is installed in some other directory as well and that directory is present in the environment variable PATH first, then problem may arise. ----- Original Message ----- From: "Davide Bianchi" <davide@xxxxxxxxxxxxxx> To: <users@xxxxxxxxxxxxxxxx> Sent: Monday, May 30, 2005 10:46 PM Subject: Re: [users@httpd] Apache 2 looking for wrong httpd.conf file on Mac > Ed Heckman wrote: > > Everything seems to be working fine except that Apache doesn't seem to be > > looking for the correct httpd.conf file. It's supposed to be using the one > > in /apache2/conf/ but when I run 'apachectl configtest', it says it's > > checking the files in /private/etc/httpd/users/. > > httpd -V will show you where he thinks that the configuration file is, > if that's the not the correct one you can do two things: > > call httpd -c /where/your/config/file/is > > or recompile your httpd specifying the correct configuration directory > (option -D SERVER_CONFIG_FILE), note tha recompiling with just the > --prefix options doesn't change everything. Check also the > config.layout file. > > Davide > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > http://www.patni.com World-Wide Partnerships. World-Class Solutions. _____________________________________________________________________ This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at netadmin@xxxxxxxxx and delete this mail. _____________________________________________________________________
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx