Apache Server
In a Nutshell - CIW Course Section 3, Part A1, Chapter 10
Overview of Apache Server
Apache is the de facto Web server for Linux systems much the same way that IIS is the standard Web server on Windows systems.
Like much of Linux, Apache does not have a Graphical User Interface. All configuration is done through a number of text files.
- httpd.conf
- access.conf
- srm.conf
- magic
The main server program, the httpd daemon is :.usr/sbin/httpd and the http files and scripts will be located, by default in /var/www. The configuration files, shown above, are located in /etc/httpd/conf. /etc/rc.d/init.d/httpd is the script used to start and stop the server.
Aliases
In terms of Apache aliases, as I understand them, are a form of virtual directory. An alias is created by an entry in the httpd.conf file:
Alias /icons/ "/var/www/icons/"
The manual manages to take five pages to explain this little nugget!
Redirecting Requests
This confused me, to begin with. The entry in the httpd.conf file to set-up URL redirection is a single entry and may look like this:
Redirect /http:/192.168.100.200
I expected it to contain two elements, a source and a destination for the redirect. But it doesn't, as it is redirecting ALL requests to the server. I read the notes many times, but I hadn't looked at the illustration. A picture paints a thousand words - they say. In this case it is true. The picture makes it obvious what is happening.
For more information visit the Apache Software Foundation Web Site at http://www.apache.org
