To hand in the assignment, zip your cgs4825 directory and upload it from ocelot.
zip -r username cgs4825 -x \*.jar \*.zip \*.war
~downeyt/cs/public/webftp/webftp.pl
Be sure that all your files and subdirectories are included in the zip
file.
After uploading, do not modify your HW3 files on ocelot until after your
assignment has been graded.
If you attempted HW2, but were unable to complete it, see me for help, this week.
Implement the Default Validation application, from Chapter 3, on ocelot. Place it in the book web application. You may use NetBeans to develop locally, but the assignment is not complete until it is deployed on ocelot.
In the index.jsp of the web application, add a hypertext link to the controller.
Implement the Reorganized application, from Chapter 3, on ocelot. Place it in the book web application. You may use NetBeans to develop locally, but the assignment is not complete until it is deployed on ocelot.
In the index.jsp of the web application, add a hypertext link to the controller.
Create a directory named errors
in your docRoot
directory.
When a page that does not exist is requested from the Apache server, a reponse
code of 404 is returned to the browser along with a default page that describes
the error. Configure the Apache server so that your own custom error page
is returned for a 404 error. Place your custom page in the
errors
directory.
When a restricted page is requested from the Apache server, a reponse code
of 403 is returned to the browser along with a default page that describes
the error. Configure the Apache server so that your own custom error page
is returned for a 403 error. Place your custom page in the
errors
directory.
Test that your error pages work by creating two hypertext links in the
cgs4825.html
page in the docRoot.
Do not add a cgs4825.html file to the errors directory. Be sure that when the directory is requested that it displays a fancy directory listing.
Add a HEADER.html file to the errors
directory. Include your
name. This file will not appear in the directory listing.
Add a README.html file to the errors
directroy. Inlcude the
course name and section. This file will not appear in the directory listing.
Edit the access.conf file and create a new Directory tag for the errors
directory. Make the following changes so that they only affect the
errors
directory.
.html
files in the errors directory.
errors
directory.
errors
directory, suppress
the size of the file and the date that the file was modified.