APACHE SERVER INFO:
Apache 1.0 is automatically installed by Linux and is also
automatically launched when the systems boots, assuming you
have installed the network module. While it is not so clear
where they store the configuration files ( I couldn't find
any documentation or HOW-TOs, but used the unix "find" command
to find the configuration files and work backwards from there)
its all there complete with a cgi directory and sample cgi
programs installed and operational!
A few important facts:
Executable : /usr/sbin/httpd
Main directory : /var/lib/httpd
Other subdirectories under the Main directory:
cgi-bin .. set up as the cgi directory with examples
conf .. configuration files found in the text
and discussed in class
access.conf
httpd.conf
mime.conf (new)
srm.conf
htdocs .. the document directory
icons .. it's obvious
logs .. log files which are operational
No directory aliases seem to be set up by default
except http://yourmachine/cgi-bin
will be interpreted as yourmachine/var/lib/httpd/cgi-bin
How does it get launched?
inittab launches the script /etc/rc.d/rc.M when going multiuser
Near the end of the rc.M file it launches Web servers in the script
which is named rc.httpd
rc.httpd only contains a single line to launch the server
/usr/sbin/httpd &
Does that mean it is not launched by inetd? YES.
What port? 80