Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Nov 2000 07:55:39 -0600
From:      David Kelly <dkelly@hiwaay.net>
To:        degraz@tusco.net
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Apache Installation 
Message-ID:  <200011241355.eAODtdS96152@grumpy.dyndns.org>
In-Reply-To: Message from "Travis Troyer" <tmtroyer@hotmail.com>  of "Fri, 24 Nov 2000 03:17:01 GMT." <F975wAz8AWiZAtGYkNU0000384c@hotmail.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
"Travis Troyer" writes:
> I installed FreeBSD 4.1 not too long ago, and installed the httpd along with 
> it.  I decided I wanted a modified apache, so I downloaded the source code, 
> modified, and compiled it.  It is in a different directory than the apache I 
> was using, plus used a different httpd.conf, so I changed the port from 80 
> to test it while the other server is running, and it worked fine.  So, now I 
> want to replace my old apache with my newly compiled apache.  I can not 
> figure out what causes apache to load on startup, so that I can change it to 
> point to my new apache.  I have looked at every file in /etc and see no 
> reference to it at all.  How can I go about doing this?

As a general rule if there is a port of an application, start with the
port if you have to make changes, as the port should represent the sum
of knowledge and best practices for best running that app under FreeBSD.
Meaning it will fix things you didn't know were broken.

Apache starts at boot with /usr/local/etc/rc.d/apache.sh

I suggest you remove your installed port with 
"pkg_delete /var/db/pkg/apache*"

Then "cd /usr/ports/www/apache13" (or one of the others if they are a
better match). Then "make patch" to apply the sum of FreeBSD knowledge.
Make your customizations in the ./work/ directory. Return to the apache
port directory and continue the process with "make install".

Make your configuration changes in /usr/local/etc/apache/

Fire it up with "/usr/local/sbin/apachectl start"



--
David Kelly N4HHE, dkelly@hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011241355.eAODtdS96152>