We did a full install of RedHat Linux 7.2, letting Disk Druid
do the partitioning. Our box is cs462-8.cs.byu.edu with the following
network configuation information:
| IP Address: | 128.187.169.25 |
| Gateway: | 128.187.169.1 |
| Name servers: | 128.187.168.20
128.187.168.21 |
We tried to install the RedHat updates as mentioned in the lab documentation,
but we had no network access. Actually, we could ping out subnet, but nothing
outside. So what we did was go throught the httpd.conf file and read over all
the options. We changed a few things:
- "ServerAdmin" to be "root@cs462-8.cs.byu.edu"
- "ServerName" to be "cs462-8.cs.byu.edu"
- Set general permissions of "AllowOverride FileInfo AuthConfig Limit" to
the ~*/public_html directories
- Added "Options ExecCGI" to the cgi-bin directory section
We also got the htaccess stuff going, adding .htgroup and .htpassword in both
the /etc directory and in each of our /home/*/etc directories.
To get the CGI stuff going for each user, we simply added a cgi-bin directory
under each user's public_html directory. On an interesting note, we had to
make the permissions on that directory 711 rather than the default 755
in order to make things work. Also, in the httpd.conf file, we added the following:
<Directory "/home/*/public_html/cgi-bin">
AllowOverride AuthConfig Limit
Options ExecCGI
SetHandler cgi-script
Order allow,deny
Allow from all
XBitHack Off
</Directory>