httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William A Rowe Jr <>
Subject Re: [users@httpd] How to use binary to run httpd in different location
Date Thu, 03 Aug 2017 04:59:01 GMT
On Wed, Aug 2, 2017 at 6:24 AM, Eric Covener <> wrote:
> On Wed, Aug 2, 2017 at 5:21 AM, Hemant Chaudhary
> <> wrote:
>> Hi
>> I have ported apache on my machine. I have copied bin,lib.conf,modules,
>> htdocs,logs to another location. Now I want to run my apache in new location
>> with these things only.
>> I changed path in httpd.conig and apachectl of new location, but while
>> starting it is starting apache in old location.
>> For example :
>> I ported apache on /home/hemant ..
>> I copied bin,conf,logs,htdocs,modules to /home/rakesh and in httpd.config I
>> replace all path of /home/hemant to /home/rakesh and changed port also. But
>> when I am starting apache, it is only starting at /home/hemant.
> pass -d  /home/rakesh/... to apachectl?

That would be the best case. It might also be necessary to flip the
LD_LIBRARY_PATH to point to the {httpd-dir}/lib directory so that all
of the linked libraries are loaded correctly.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message