A WebServer Guide -- Help Using Apache | FreeOS, free operating systems
Pick a Free OS

User login

Navigation

A WebServer Guide -- Help Using Apache

Creating Makefile in src/modules/standard

Unless errors were reported

(not warnings, mind you), your Apache installation is now configured and we

can move on. This is where things get a bit ugly -- not difficult, mind you,

only ugly. Makeing Apache produces screenfulls of scary-looking output, but don\'t

worry -- as long as the process doesn\'t stop suddenly with an error message,

all is as it should be.

make

Your screen should look

something like:

# make

===> src

make[1]: Entering directory `src/httpd/apache_1.3.11\'

make[2]: Entering directory `src/httpd/apache_1.3.11/src\'

===> src/regex

...

[several lines later]

...

gcc  -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite

-DNO_DL_NEEDED `../apaci` -o ab   -L../os/unix

-L../ap ab.o -lap -los  -lm -lcrypt


make[2]: Leaving directory `src/httpd/apache_1.3.11/src/support\'

<=== src/support


make[1]: Leaving directory `src/httpd/apache_1.3.11\'

<=== src

#

Finally, you\'re ready to

install your Apache build.

# make install

And you\'re done! Pretty

painless, you have to admit -- although the

make output can bring

about mild eye-strain ;-)

Here\'s

what the Red Hat Linux installation does:

web server binaries

/usr/sbin/httpd

/usr/sbin/httpd_monitor

config

files

/etc/httpd/conf/*

log files

/etc/httpd/logs/*

web server root

(contains cgi, icons/images, and html files)

/home/httpd/*

Configuration

Apache uses some rather easy

to understand text files for configuration. On a Red Hat system, you\'ll find

them in /etc/httpd/conf. Quite

a few Linux distributions place them in this same place, but if you can\'t find

such a directory, do a search for \"httpd.conf\"

and/or \"access.conf\". The latest versions of

Apache have a main configuration file called \"httpd.conf\".

Older versions use httpd.conf,

access.conf and srm.conf.

Once you find these, you\'ve found the main config

files.

Here\'s how you can find

them.

Login as root (or

su as the root operator)

cd

/

find -name

httpd.conf

Performance Settings

There are multiple