GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 134.29.175.74  /  Your IP : 216.73.216.160
Web Server : nginx/1.10.2
System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586
User : Administrator ( 0)
PHP Version : 7.1.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/nginx/html/JimMartinson/Classes/CST1611/Labs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/JimMartinson/Classes/CST1611/Labs//CST1611_Lab03._grading_notes.txt
Lab 3 - mod_alias

Grading Criteria
Demonstrated assignment effectively: 15 points.
There are some things I expect. If they are incorrect you will lose the following:
Work submitted incorrectly: -2 pts. This covers errors such as incorrect files names, incorrect file formats, poor formatting, etc.
Second and subsequent submission of work for grading: -2 pts.
Work submitted late: -2 pts per week.
I reserve the right not to apply the deduction points at my absolute discretion.

-15 Work submitted incorrectly.
    You did not include a copy of your hosts or httpd.conf file in your submission.
=e

-15 Work submitted incorrectly.
    You did not include a copy of your hosts or httpd.conf file in your submission.
    Instead you have Windows shortcuts. Without these files I cannot verify your work.
   
-15 The hosts and httpd.conf files were not included in your submission.
=e

-15 The httpd.conf file was not included in your submission.
=e

-10 The DocumentRoot and Directory directives for your CST1611.loc site are incorrect.
    The Alias and Redirect directives are incorrect as well.
=e

-0 Work submitted incorrectly.
   Why is you hosts file named hosts.txt?

Lab03:
aliasfrom						Step 3.		!You are in the Benjemin Lozano aliasfrom directory.txt
aliasto							Step 3.		!You are in the Benjemin Lozano aliasto directory.txt
ClassHome						Step 5.		!You are in the Benjemin Lozano ClassHome directory.txt
fromnothing						Step 8.		!You are in the Benjemin Lozano fromnothing directory.txt
redirected						Step 7.		!You are in the Benjemin Lozano redirected directory.txt
tohere							Step 7.		!You are in the Benjemin Lozano tohere directory.txt
!This is the Lab03 directory for Benjemin Lozano.txt	Step 1.
AliasFileFrom.txt					Step 4.
AliasFileTo.txt						Step 4.
ClassFile.txt						Step 6.
hosts
httpd.conf

Lab03:

Alias "/CST1611/Lab03/aliasfrom" "C:/Data_WWW/CST1611/Lab03/aliasto"				Step 3.
Alias "/CST1611/Lab03/AliasFileFrom.txt" "C:/Data_WWW/CST1611/Lab03/AliasFileTo.txt"		Step 4.
Redirect "/CST1611/Lab03/ClassHome" "http://cst.ridgewater.edu/JimMartinson/CST1611"		Step 5.
Redirect "/CST1611/Lab03/ClassFile.txt/" "http://cst.ridgewater.edu/JimMartinson/CST1611"	Step 6.
Redirect "/CST1611/Lab03/redirected" "/CST1611/Lab03/tohere"					Step 7.
Redirect "/CST1611/Lab03/nothing" "/CST1611/Lab03/fromnothing"					Step 8.

Lab03:
httpd.conf:

-3 Step 2; Lines 567-578; Your Alias and Redirect directives must be inside of the localhost VirturalHost.

-1 You have uppercase/lowercase issues.
   On Windows the case of a letter does not matter for directory and file names. It does on other OSs.
   You have ALiasFrom on line 542 and the folder is named aliasfrom, etc. Check for others.

-0 Redirect directive URL-to parameter does not need all parts of a URL.
   If the domain is the same as the current host then the protocol and host name can be omitted.
   On line 546, http://localhost/CST1611/Lab03/tohere/ could be shortened to /CST1611/Lab03/tohere/, etc.

Step 3. Alias "/CST1611/Lab03/aliasfrom" "C:/Data_WWW/CST1611/Lab03/aliasto"
-2 Step 3; You are missing this Alias directive.
-2 Step 3; Line 546; Your Alias and Redirect directives should have been inside of the localhost VirturalHost.
-2 Step 3; Line 546; Alias is incorrect.
-0 Step 3; Line 542; You have an ending / in the URL-path part of the 'aliasfrom' Alias directive.
   It is not needed. Apache knows that aliasfrom is a directory.
   You should also not have a / at the end of the URL-to part.

Step 4. Alias "/CST1611/Lab03/AliasFileFrom.txt" "C:/Data_WWW/CST1611/Lab03/AliasFileTo.txt"
-2 Step 4; You are missing this Alias directive.
-1 Step 4; Line 543; You should not have the ending / in the URL-path part of the alias.
   Just clicking on the file should trigger the Alias. Your code would not allow that.

-1 Steps 5-8; I did not require or want a [status] parameter for the Redirect directives.

Step 5. Redirect "/CST1611/Lab03/ClassHome/" "http://cst.ridgewater.edu/JimMartinson/CST1611"
Ignore the missing ending / issue.

Step 6. Redirect "/CST1611/Lab03/ClassFile.txt/" "http://cst.ridgewater.edu/JimMartinson/CST1611"
-1 Step 6; Line 545; You are missing a / from the end of the URL-path part of your Redirect directive.
   When clicking on the ClassFile.txt file, the Redirect should not happen.
   It should only work when a / is added to the URL.
Ignore the ending / issue in the URL-to.

Step 7. Redirect "/CST1611/Lab03/redirected" "/CST1611/Lab03/tohere"
-2 Step 7; Line 562; The Redirect is incorrect.
   Redirect directives expect the second parameter to be a URL, not a file system location.
-2 Step 7; Line 546; The Redirect for step 7 is missing a closing quote.
-0 Step 7; Line 546; You have an ending / in the URL-path part of the 'redirected' Redirect directive.
   It is not needed as redirected is a folder and Apache knows this.
   You should also not have a / at the end of the URL-to part (which is also not needed).
-1 Step 7; Line 570; The redirected folder name is incorrect.
   You have `Redirected` instead of `redirected`.
+1 I am not taking off any points because you also used `Redirected` in your Redirect directive.

Step 8. Redirect "/CST1611/Lab03/nothing" "/CST1611/Lab03/fromnothing"
-2 Step 8; Line 563; The Redirect is incorrect.
   Redirect directives expect the second parameter to be a URL, not a file system location.
-1 Step 8; Line 547; You should not have a / at the end of the URL-path part.
   This requires you to add `nothing/` to the browder URL instead of just `nothing`.
-0 Step 8; Line 547; You should also not have a / at the end of the URL-to part.
   There should only be a / at the end of the URL-to part if there was one on the URL-path part.
-0 Step 8; Line 548; You should not have a / at the end of the URL-to part.

Anon7 - 2022
AnonSec Team