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

Thanks


On Thu, Aug 3, 2017 at 10:29 AM, William A Rowe Jr <wr...@rowe-clan.net>
wrote:

> On Wed, Aug 2, 2017 at 6:24 AM, Eric Covener <cove...@gmail.com> wrote:
> > On Wed, Aug 2, 2017 at 5:21 AM, Hemant Chaudhary
> > <hemantdude.chaudh...@gmail.com> 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: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to