CS209-01 Homework Assignment / Lab Session 8 - 2005 Summer 1
Date: Jun 23, 2005
Due: Sat Jun 25, 11:59 p.m.
Apache Server
- find out if the apache server is already installed on your machine, install it from the Suse CDs
if not
- Use YaST , Network Services to initialize and start the server
- create a home page for one user on your system (owned by him/her)
~username/public_html/index.html
and make sure that it can be accessed
by the server's clients (check the Apache documentation -> Per-user Web Directories )
- modify the server (not only apache) to serve an extra virtual interface - use the names and IP addresses
that are your name and one formed by adding "2" to your hostname and adding 20 to your original IP address
(ivantest,192.168.8.6 will also serve ivantest2, 192.168.8.26 )
- make changes to the configuration of your server such that only the second virtual host
(ivantest2) will have root document directory pointed to the
~username/public_html/index.html
from above
and no other user's home directory will be visible through the second virtual host
- make sure that the daemon starts when your computer boots up
- find out what is the version of your apache server and what is the newest one available on
the apache web site (http://www.apache.org/) What are the differences,
security related, new, or better features?
Extracredit
modify a server configuration to allow users to run their own CGI scripts but only
from within
~/public_html/cgi-bin
in such a way that they are referenced as
http://your_machine_name_or_address/~username/cgi-bin/some_program_name
Feedback
Estimate how much time did you spent on this assignment. Describe what was hard, easy, interesting, boring or confusing.
Submit PRINTED report and also send it by e-mail
attach the modified files to your report (cp them into cs domain first and attach them to your report)