Homework #1: Fresh Apache Installation
Create a directory under your home directory called "apache-hw". (e.g mkdir apache-hw)
Copy the Apache distribution from my home directory to your new apache-hw directory (cd apache-hw; cp ~chrisjur/apache_1.3.12.gz .)
Perform a complete compile and install of Apache with your new apache-hw directory as the ServerRoot (i.e. in the --prefix=*VALUE* value when you compile should be the apache-hw directory).
Configure Apache with the following attirbutes:
- Before running any new instances of Apache, be sure you have stopped any other instances from class!
- Set the default port to the port number you used in class (the numeric portion of your iti.rutgers.edu username).
- Set the DocumentRoot directory to /home/chrisjur/classhw
- Restrict access to /home/chrisjur/classhw/restricted directory to only people logged in on iti.rutgers.edu
- Create a redirect so when someone accesses the directory /redirect it sends them to http://www.yahoo.com.
- Create a new directory under your home directory on iti.rutgers.edu. Create a text file in that directory called index.html. The text file should contain the text "Hello World, I am *YOUR NAME*". Configure Apache with a Virtual Directory so that clients who type in http://iti.rutgers.edu:{YOUR PORT}/me see the contents of the new directory you just created.
- Email me to when you are done....provide me with your iti.rutgers.edu username.