Apache Configuration Conventions
/stage/w3serv/*/conf
E |
By convention, configuration files for plain-vanilla Apache are named httpd.conf while configuration files for Apache-SSL are named httpsd.conf.
Server Configuration Files
S |
/stage/w3serv/limousin.cs.uchicago.edu/conf/httpd.confis the main configuration file for limousin.
The bulk of these server configuration files are Apache directives that we've built up over the years to do what we want with the servers. Apache configuration information is beyond the scope of this documentation; information is available at httpd.apache.org.
The important thing to notice about these files lives at the very end: things like
Include /stage/w3serv/ai.cs.uchicago.edu/conf/httpd.conf Include /stage/w3serv/cjtcs.cs.uchicago.edu/conf/httpd.conf Include /stage/w3serv/www.cs.uchicago.edu/conf/httpd.confInclude lines like these incorporate individual virtual hosts' configuration files into the main server configuration file. The above three lines include the virtual host configuration files for ai, cjtcs, and the main web page.
Virtual Host Configuration Files
A |
<VirtualHost *> # Specify the docs directory for this virtual host DocumentRoot /stage/w3serv/vhost.cs.uchicago.edu/docs ServerName vhost.cs.uchicago.edu ServerAlias vhost.cs vhost # Don't allow home directories (/~username) on this virtual host UserDir disable </VirtualHost>but of course many contain more complex directives to produce the needed results.