Setting-up and running APACHE server
John Chambers
jc at trillian.mit.edu
Tue Dec 4 11:26:49 EST 2001
Ali writes:
| Thanks to the help from David Kramer, twg3, Jerry Feldman, and et al,
| I installed Linux 7.2 on my desktop PC during the weekend.
...
| I have not been able to locate the httpd.conf file to check its
| enteries, specially the line for "localhost".
| Where is httpd.conf is located in RedHat 7.2?
|
| I wonder if any knows how to go about resolving this Apache setup problem?
Heh. I've found that most distributions seem to come with apache
installed in undocumented places, and it's a lot of work to find all
the pieces. Here's a much simpler solution: Go to www.apache.org and
download the latest version. It comes with README and INSTALL files
that explain the basics very well. Getting it compiled and running
(with a few tweaks like inserting my email address as the admin)
takes 15 or 20 minutes. All the pieces are put into /usr/local/apache
by default, or in a directory you can specify when you run the
configure script. It's a whole lot easier than figuring out some
vendor's clever (but poorly documented) ideas of where to move
everything.
The apache gang has done a very good job of making the installation
simple and straightforward.
The main thing remaining is finding the right place to insert a link
to apachectl, so that the server will come up at boot. This seems to
be somewhat different in different vendors' releases, and I haven't
seen enough of them to be able to say with any authority where it
should go. /etc/rc.d/rc5.d/K15httpd seems to be the RedHat place.
More information about the Discuss
mailing list