Subject: Re: [[email protected]] How to use binary to run httpd
in different location



Yes ./httpd -f location of config files works for me.
Thanks

On Thu, Aug 3, 2017 at 10:29 AM, William A Rowe Jr <[email protected]> wrote:
On Wed, Aug 2, 2017 at 6:24 AM, Eric Covener <[email protected]> wrote:
> On Wed, Aug 2, 2017 at 5:21 AM, Hemant Chaudhary
> <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]


...



Programming list archiving by: Enterprise Git Hosting