[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Newbie questions about Apache
- To: "'LiNT'" <lint_(_at_)_hungover_(_dot_)_com>, misc_(_at_)_openbsd_(_dot_)_org
- Subject: RE: Newbie questions about Apache
- From: Patrick Ethier <pat_(_at_)_secureops_(_dot_)_com>
- Date: Fri, 14 Apr 2000 02:43:38 -0400
Hmmm,
Apache by default goes into /usr/local/apache. I've compiled it outside the
OpenBSD layout a few times. Basically, to use the startup script, get rid of
the /usr/sbin/httpd and create a symlink to /usr/local/apache/bin/httpd
I did the same for all the other binaries (htpasswd, apachectl and the like)
BTW, this is not the best way of doing things...
As a note, make your life easy... to install mod_perl or php4 or anything
like that, use the APXS facility, that will guarantee an almost troublefree
installation.
--with-apxs=/usr/sbin/apxs or something like that along with the ./configure
of mod_perl.
Read the ./configure --help and the INSTALL file, it's all explained in
there somewhere...
(BTW, the only reason i can think of to recompile Apache out of the /var/www
is if you want a more recent version of Apache.)
There's also some other weird ways to go about this. Check out the archives,
although I don't agree with most of them (They are harder, and more prone to
error, and don't necessarily result in a better installation) they could
work for you.
Just my 2 cents worth,
Patrick Ethier
patrick_(_at_)_secureops_(_dot_)_com
-----Original Message-----
From: LiNT [mailto:lint_(_at_)_hungover_(_dot_)_com]
Sent: Thursday, April 13, 2000 6:36 PM
To: misc_(_at_)_openbsd_(_dot_)_org
Subject: Newbie questions about Apache
I'm attempting to install Apache for the first
time and I'm a little confused.
First off, is there a reason why OpenBSD chooses
to install Apache in /var/www rather than
usr/local/www which it seems most other people
use?
Second, I noticed that the ports collection
doesn't contain Apache becuase it's included in
the base system. If I download the source from
an Apache mirror and compile am I likely to run
into any problems?
And finally, since I'm planning on reinstalling
(hopefully to /usr/local/www) is there any way
to uninstall the precompiled version already
installed? Does it matter? Should I just comment
the old one out in rc.conf?
My whole plan is based on the fact that I would
like to install mod_perl and php support. If this
is already configured in the default installation
someone please correct me.
Thanks,
Jim Stevens
Free, fast e-mail accessible anytime, anywhere http://www.imaginemail.com
Visit your host, monkey.org