GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
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/MichaelMalz/CST1611/Labs/Lab01/ |
Upload File : |
<? // JimMartinson/CST1611/Labs/Lab01/Lab01.phpinc require('Gradebook/EvaluationSubmission_BEGIN.phpinc'); // Replaced. $dataFolder = '/var/www/html'; $disabled = ''; #$disabled = ' disabled'; // Comment this line to enable lab. // NOTE: Disable Include conf/extra/httpd-autoindex.conf line in the httpd.conf file before labs. // OR: Fix labs so Lab 4 mod_autoindex works as it should. ?> <fieldset><legend><?=$evaluationType?> <?=$evaluationNumber?> Description</legend> The purpose of this lab is to install Apache web server. <?=$gradeNote?> <? if ( $disabled ) { ?><span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><? } ?> </fieldset> <fieldset><legend><?=$evaluationType?> <?=$evaluationNumber?> Instruction</legend> <ol class="count"> <li> Remove file <b><?=$dataFolder?>/index.html</b> </li> <li> Create a directory called <b class="copyText"><?=$courseNumber?></b> in your <b><?=$dataFolder?></b> directory. </li> <li> Create a directory called <b class="copyText"><?=$evaluationName?></b> in your <b><?=$dataFolder?><?=$dirSep?><?=$courseNumber?></b> directory. We will use it for all work performed in this lab. </li> <li>Verify your Apache installation. <ol> <li>Open your browser.</li> <li>Enter <b>localhost</b> in the address bar.</li> <li>Hit <b>enter</b> to load the site. You should see something like this: <? require('common/Browser/Browser.phpinc'); BrowserBegin('Index of /','http://localhost/',480);?> <img src="CST1611-Lab01-Browser-JimMartinson.png" width="448" height="170" alt=""/><? BrowserEnd();?> </li> <li><b class="info">Take a screenshot of the page</b> and save the image as <b class="copyText"><?=$saveFilename?>-Browser.png</b> in your <b><?=$dataFolder?><?=$dirSep?><?=$courseNumber?><?=$dirSep?><?=$evaluationName?></b> directory. <span class="note"><span class="strike">CST1611-<?=$evaluationName?>-Browser-<?=$userFileName?>.png</span> file name changed on 2/9/2021.</span> <br>Make sure that the address bar is visible in your screenshot before saving the image. <br>Note that all screenshots for this class must be saved in <a href="http://www.libpng.org/pub/png/">Portable Network Graphics</a> (.png) format. <br>Screenshots must also be limited to what was requested. Do not submit entire screens as screenshots unless requested. </li> </ol> </li> <li>Turn in your assignment: <ol> <li>Copy your <b>hosts</b> file into your <b><?=$evaluationName?></b> folder.</li> <li>Zip up your <b><?=$evaluationName?></b> folder into a file named <b class="copyText"><?=$uploadFilename?></b>.</li> <li>Browse and select your <b><?=$uploadFilename?></b> file: <input type="file" name="fileUpload" id="inpFileUpload"<?=$disabled?>><div id="divFileploadError"></div></li> <li>Then <input type="submit" name="f_subtask" id="inpSubmit" value="Submit"<?=$disabled?>> for grading.</li> </ol> </li> </ol><? if ( $disabled ) { ?><span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><? } ?> </fieldset> <? require('Gradebook/EvaluationSubmission_END.phpinc'); // Replaced. ?>