> -----Original Message----- > From: Meir Yanovich [mailto:meiry@xxxxxxxxxxxx] > Sent: Sunday, July 16, 2006 12:14 PM > To: users@xxxxxxxxxxxxxxxx > Subject: [users@httpd] how to compile apache with out > depending on the mechine name (UNIX) > > > > Hello all > im compiling apache 1.3 from source like this : > sh -c 'CC="cc" CFLAGS="-g -mt -xcode=pic32 -xarch=v9 -KPIC " ./configure > --prefix=/bld/myPlace/Run/apache --enable-module=so > --enable-module=most --enable-shared=max --enable-rule=SHARED_CORE > --enable-rule=SHARED_CORE' and its working just fine and the apache is > working BUT when I take the apache binaries to different unix account > it still looking for paths from my old account > =/bld/myPlace/Run/apache > even that I did changed in the httpd.conf how can I compile it to be > path / machine independent? You can define the path to the config file with the "-f" switch on startup (do ./httpd --help for details). Then you can define ServerRoot in the httpd.conf (do ./httpd -V to see existing path info). Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > Thanks > > > > --------------------------------------------------------------------- > 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 > This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company. --------------------------------------------------------------------- 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