<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WEB-NES-BAY &#187; Configuration File</title>
	<atom:link href="http://webnesbay.com/tag/configuration-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://webnesbay.com</link>
	<description>Learn Tips and tricks on Linux, Hacking, linux, PHP, Perl, Web, Hardware</description>
	<lastBuildDate>Sun, 11 Apr 2010 05:12:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to surf anonymus in ubuntu linux</title>
		<link>http://webnesbay.com/how-to-surf-anonymus-in-ubuntu-linux/</link>
		<comments>http://webnesbay.com/how-to-surf-anonymus-in-ubuntu-linux/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 04:55:57 +0000</pubDate>
		<dc:creator>WEBNESBAY</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Anonymus]]></category>
		<category><![CDATA[Caching Web]]></category>
		<category><![CDATA[Configuration File]]></category>
		<category><![CDATA[Exceptions]]></category>
		<category><![CDATA[Fire Fox]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Flexible Configuration]]></category>
		<category><![CDATA[hide my ip]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[installing privoxy]]></category>
		<category><![CDATA[Internet Junk]]></category>
		<category><![CDATA[Org Extensions]]></category>
		<category><![CDATA[Privoxy]]></category>
		<category><![CDATA[Proxies]]></category>
		<category><![CDATA[Proxy Server]]></category>
		<category><![CDATA[Show Tool Bar]]></category>
		<category><![CDATA[surf anonymus]]></category>
		<category><![CDATA[User Networks]]></category>
		<category><![CDATA[Watismijnip]]></category>
		<category><![CDATA[Web Proxy]]></category>

		<guid isPermaLink="false">http://webnesbay.com/?p=848</guid>
		<description><![CDATA[This is simple article which specifies the surfing anonymous in ubuntu linux. We will do this using privoxy and a firefox add on.
Privoxy
Privoxy is a non-caching web proxy with advanced filtering capabilities  for enhancing privacy, modifying web page data and HTTP headers, controlling  access, and removing ads and other obnoxious Internet junk. Privoxy has a  flexible configuration and can be customized to suit individual needs and tastes.  It has application for both stand-alone systems and multi-user [...]


Related posts:<ol><li><a href='http://webnesbay.com/how-to-block-websites-in-ubuntu-linux/' rel='bookmark' title='Permanent Link: How to block websites in Ubuntu Linux'>How to block websites in Ubuntu Linux</a></li>
<li><a href='http://webnesbay.com/linux-keylogger-in-ubuntu/' rel='bookmark' title='Permanent Link: Linux Keylogger in Ubuntu'>Linux Keylogger in Ubuntu</a></li>
<li><a href='http://webnesbay.com/download-youtube-videos-in-ubuntu-linux/' rel='bookmark' title='Permanent Link: Download youtube videos in ubuntu linux'>Download youtube videos in ubuntu linux</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This is simple article which specifies the surfing anonymous in ubuntu linux. We will do this using privoxy and a firefox add on.</p>
<p><strong>Privoxy</strong></p>
<p>Privoxy is a non-caching web proxy with advanced filtering capabilities  for enhancing privacy, modifying web page data and HTTP headers, controlling  access, and removing ads and other obnoxious Internet junk. Privoxy has a  flexible configuration and can be customized to suit individual needs and tastes.  It has application for both stand-alone systems and multi-user networks.</p>
<p>Follow the below instructions</p>
<p><strong>Step 1</strong><br />
Go to <a href="www.watismijnip.nl">www.watismijnip.nl</a> and write down youre IP ( you need it later)</p>
<p><strong>Step 2</strong></p>
<p>Now install privoxy on your machine using the below command</p>
<p>$ sudo apt-get install tor privoxy</p>
<p><strong>Step 3 </strong></p>
<p>Now you need to edit the configuration file of privoxy</p>
<p>sudo gedit /etc/privoxy/config</p>
<p>Add this line:<strong> &#8221; forward-socks4a / localhost:9050 . &#8220;</strong> (with the dot ) at the end of the config file</p>
<p><strong>Step 4</strong></p>
<p>Now you need to install this firefox add on</p>
<p><a href="https://addons.mozilla.org/extensions/moreinfo.php?application=firefox&amp;id=125">https://addons.mozilla.org/extensions/moreinfo.php?application=firefox&amp;id=125</a></p>
<p>click on &#8220;Install now&#8221; (62 KB file)</p>
<p>After the installation you have to restart Fire Fox again.</p>
<p><strong>Step 5</strong></p>
<p>Then go to Extra &gt; Switch Proxy &gt; manage proxies &gt; add &gt; standard &gt; next.</p>
<p><strong>Step 6</strong></p>
<p>Next enter the following information into both the HTTP Proxy and SSL Proxy fields.</p>
<p>Hostname: 127.0.0.1</p>
<p>Port: 8118.</p>
<p>Set up any proxy exceptions you may need and then click on OK. (Do this also for the proxy label)</p>
<p><strong>Step 7</strong></p>
<p>Now choose in Firefox &gt; extra &gt; switch Proxy &gt; Preferences &gt; and apply &#8220;show tool bar&#8221;</p>
<p>Now the tool bar will be shown in Firefox</p>
<p>Choose proxy, your proxy server you just filed in: 127.0.0.1</p>
<p>If you want to use other proxies choose from this</p>
<p><a href="http://proxy.org/tor.shtml">http://proxy.org/tor.shtml</a></p>
<p>Then go to <a href="www.watismijnip.n">www.watismijnip.n</a>l and look if youre IP is different from above!</p>


<p>Related posts:<ol><li><a href='http://webnesbay.com/how-to-block-websites-in-ubuntu-linux/' rel='bookmark' title='Permanent Link: How to block websites in Ubuntu Linux'>How to block websites in Ubuntu Linux</a></li>
<li><a href='http://webnesbay.com/linux-keylogger-in-ubuntu/' rel='bookmark' title='Permanent Link: Linux Keylogger in Ubuntu'>Linux Keylogger in Ubuntu</a></li>
<li><a href='http://webnesbay.com/download-youtube-videos-in-ubuntu-linux/' rel='bookmark' title='Permanent Link: Download youtube videos in ubuntu linux'>Download youtube videos in ubuntu linux</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://webnesbay.com/how-to-surf-anonymus-in-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH on multiple machines/servers using clusterssh simultaneously</title>
		<link>http://webnesbay.com/ssh-on-multiple-machinesservers-using-clusterssh-simultaneously/</link>
		<comments>http://webnesbay.com/ssh-on-multiple-machinesservers-using-clusterssh-simultaneously/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 03:42:03 +0000</pubDate>
		<dc:creator>WEBNESBAY</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Cluster Nodes]]></category>
		<category><![CDATA[cluster ssh]]></category>
		<category><![CDATA[Command Line Argument]]></category>
		<category><![CDATA[Configuration File]]></category>
		<category><![CDATA[connect linux servers simultaneously]]></category>
		<category><![CDATA[Connected Systems]]></category>
		<category><![CDATA[cssh]]></category>
		<category><![CDATA[Fly]]></category>
		<category><![CDATA[Group Id]]></category>
		<category><![CDATA[Hosts]]></category>
		<category><![CDATA[install cluster ssh]]></category>
		<category><![CDATA[Linux Distributions]]></category>
		<category><![CDATA[Linux Rpm]]></category>
		<category><![CDATA[Mouseclick]]></category>
		<category><![CDATA[multi ssh]]></category>
		<category><![CDATA[Opensuse]]></category>
		<category><![CDATA[Repositories]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Sourcecode]]></category>
		<category><![CDATA[Ssh]]></category>
		<category><![CDATA[Ssh Connection]]></category>
		<category><![CDATA[Ssh Linux]]></category>
		<category><![CDATA[ssh on multiple servers]]></category>
		<category><![CDATA[Terminal Window]]></category>
		<category><![CDATA[Terminal Windows]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false">http://webnesbay.com/?p=825</guid>
		<description><![CDATA[This article provides you useful information to control multiple machines using single terminal using cluster ssh
What is CLUSTER SSH?
With ClusterSSH it is possible to make a SSH connection to multiple servers or machines to perform tasks from one single command window, without any scripting. The &#8216;cssh&#8217; command lets you connect to any server specified as a command line argument, or to groups of servers (or cluster nodes) defined in a configuration file.
How to Install?
I am providing the steps to install [...]


Related posts:<ol><li><a href='http://webnesbay.com/control-multiple-pcs-with-one-keyboardmouse/' rel='bookmark' title='Permanent Link: Control Multiple PCs With One Keyboard/Mouse'>Control Multiple PCs With One Keyboard/Mouse</a></li>
<li><a href='http://webnesbay.com/renaming-multiple-files-simultaneously/' rel='bookmark' title='Permanent Link: Renaming multiple files simultaneously'>Renaming multiple files simultaneously</a></li>
<li><a href='http://webnesbay.com/download-picasa-3-0-for-ubuntu/' rel='bookmark' title='Permanent Link: Download Picasa 3.0 for ubuntu'>Download Picasa 3.0 for ubuntu</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This article provides you useful information to control multiple machines using single terminal using cluster ssh</p>
<p><strong>What is CLUSTER SSH?</strong></p>
<p>With ClusterSSH it is possible to make a SSH connection to multiple servers or machines to perform tasks from one single command window, without any scripting. The &#8216;cssh&#8217; command lets you connect to any server specified as a command line argument, or to groups of servers (or cluster nodes) defined in a configuration file.</p>
<p><strong>How to Install</strong>?</p>
<p>I am providing the steps to install cluster ssh in Ubuntu/Linux. Its very simple to install. No configuration required after installation in Ubuntu.</p>
<p><span style="color: #0000ff;">sudo apt-get install clusterssh</span></p>
<p>Now you are ready with clusterssh.</p>
<p><em><strong>For other Linux Distributions</strong></em></p>
<ul>
<li>ClusterSSH RPM for openSUSE 10.2/10.3 and SLE10  are available through the openSUSE Build-service:  <a href="http://download.opensuse.org/repositories/home:/martijn/">http://download.opensuse.org/repositories/home:/martijn/</a></li>
<li>The ClusterSSH sourcecode can be downloaded from:  <a href="http://sourceforge.net/project/showfiles.php?group_id=89139">http://sourceforge.net/project/showfiles.php?group_id=89139</a></li>
</ul>
<p><strong>cssh usage</strong></p>
<p>I will explain you with an example using cssh. Let&#8217;s say I want to install php on 5 machines simultaneosly. Here is the command</p>
<p><span style="color: #0000ff;">cssh host1 host2 host3 host4 host5</span></p>
<p><span style="color: #0000ff;"><img class="aligncenter size-full wp-image-827" title="csshX" src="http://webnesbay.com/wp-content/uploads/2009/10/csshX.png" alt="csshX" width="449" height="278" /><br />
</span></p>
<p>The &#8216;cssh&#8217; command opens a terminal window to every host. Commands given in to the cssh-console are executed on every connected host. When you start typing in the cssh-console you&#8217;ll see that the same command also show up on the command line of the connected systems.</p>
<p>Now type this command as we are about to install php on all 5 machines</p>
<p><span style="color: #0000ff;">sudo apt-get install php5</span></p>
<ul>
<li>If you are typing above command, you can see all the 5 terminals connected to above hosts will be shown up simultaneosly</li>
<li>So if you want to exclude certain hosts temporarily from specific command, you can do this with a single mouseclick. Also, hosts can be added on the fly and open terminal windows can automatically be rearranged.</li>
</ul>
<p>I have provided you a simple example of installing a package in multiple hosts. Now you can do any thing in terminal to control/configure any number of hosts. The number of hosts is not limited, you can give any number of hosts. I have tested 50 hosts at a time and worked well</p>


<p>Related posts:<ol><li><a href='http://webnesbay.com/control-multiple-pcs-with-one-keyboardmouse/' rel='bookmark' title='Permanent Link: Control Multiple PCs With One Keyboard/Mouse'>Control Multiple PCs With One Keyboard/Mouse</a></li>
<li><a href='http://webnesbay.com/renaming-multiple-files-simultaneously/' rel='bookmark' title='Permanent Link: Renaming multiple files simultaneously'>Renaming multiple files simultaneously</a></li>
<li><a href='http://webnesbay.com/download-picasa-3-0-for-ubuntu/' rel='bookmark' title='Permanent Link: Download Picasa 3.0 for ubuntu'>Download Picasa 3.0 for ubuntu</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://webnesbay.com/ssh-on-multiple-machinesservers-using-clusterssh-simultaneously/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Send and Receive Hotmail through Evolution in ubuntu</title>
		<link>http://webnesbay.com/send-and-receive-hotmail-through-evolution-in-ubuntu/</link>
		<comments>http://webnesbay.com/send-and-receive-hotmail-through-evolution-in-ubuntu/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 11:32:33 +0000</pubDate>
		<dc:creator>WEBNESBAY</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Configuration File]]></category>
		<category><![CDATA[Dependencies]]></category>
		<category><![CDATA[Evolution]]></category>
		<category><![CDATA[Gedit]]></category>
		<category><![CDATA[Good Stuff]]></category>
		<category><![CDATA[hotmail in evoultion]]></category>
		<category><![CDATA[hotmail in ubuntu]]></category>
		<category><![CDATA[Hotmail Smtp]]></category>
		<category><![CDATA[Hotway]]></category>
		<category><![CDATA[Hotwayd]]></category>
		<category><![CDATA[Incoming Calls]]></category>
		<category><![CDATA[Inet]]></category>
		<category><![CDATA[Inetd Server]]></category>
		<category><![CDATA[Pop3 Server]]></category>
		<category><![CDATA[Send E Mail]]></category>
		<category><![CDATA[Send Mail]]></category>
		<category><![CDATA[Step 1]]></category>
		<category><![CDATA[Step 2]]></category>
		<category><![CDATA[Superserver]]></category>
		<category><![CDATA[Tcpd]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Usr Bin]]></category>

		<guid isPermaLink="false">http://webnesbay.com/?p=651</guid>
		<description><![CDATA[This is the tutorial to send and receive hotmail thru evolution in ubuntu
Before starting it let&#8217;s check our system is up to date
Step 1
sudo apt-get update
Step 2
Now, install the inet daemon
sudo apt-get install inetutils-inetd
This takes care of all of our dependencies. Now on to the good stuff.
Step 3
sudo apt-get install hotway hotsmtp
This will install hotway, which allows you to read hotmail e-mails by simulating a POP3 server, and hotsmtpd, which allows you to send e-mail through hotmail using SMTP. By [...]


Related posts:<ol><li><a href='http://webnesbay.com/send-messages-from-ubuntu-to-windows-over-lan/' rel='bookmark' title='Permanent Link: Send messages from Ubuntu to Windows over LAN'>Send messages from Ubuntu to Windows over LAN</a></li>
<li><a href='http://webnesbay.com/compare-local-and-remote-directories-in-ubuntu/' rel='bookmark' title='Permanent Link: Compare local and remote directories in ubuntu'>Compare local and remote directories in ubuntu</a></li>
<li><a href='http://webnesbay.com/linux-keylogger-in-ubuntu/' rel='bookmark' title='Permanent Link: Linux Keylogger in Ubuntu'>Linux Keylogger in Ubuntu</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This is the tutorial to send and receive hotmail thru evolution in ubuntu</p>
<p>Before starting it let&#8217;s check our system is up to date</p>
<p><strong>Step 1</strong></p>
<p>sudo apt-get update</p>
<p><strong>Step 2</strong></p>
<p>Now, install the inet daemon</p>
<p>sudo apt-get install inetutils-inetd</p>
<p>This takes care of all of our dependencies. Now on to the good stuff.</p>
<p><strong>Step 3</strong></p>
<p>sudo apt-get install hotway hotsmtp</p>
<p>This will install hotway, which allows you to read hotmail e-mails by simulating a POP3 server, and hotsmtpd, which allows you to send e-mail through hotmail using SMTP. By default, however, only hotway gets installed properly to your inet daemon, so let&#8217;s fix this.</p>
<p><strong>Step 4</strong></p>
<p>This step is little bit lengthy and you should be more careful. We will edit the inetd configuration file</p>
<p>sudo gedit /etc/inetd.conf</p>
<p>Look for a line like this in the above config file:</p>
<p>pop3        stream    tcp    nowait    nobody    /usr/sbin/tcpd /usr/bin/hotwayd</p>
<p>By default, hotway leaves a copy of each message it downloads on the server. I prefer it this way, so I can read my e-mail at other locations, but if you don&#8217;t feel like filling up your hotmail box, change the line to add &#8220;-r&#8221; to the end, like this:</p>
<p>pop3        stream    tcp    nowait    nobody    /usr/sbin/tcpd /usr/bin/hotwayd -r</p>
<p>And we also need to add a line to get hotsmtpd working, just paste this at the bottom</p>
<p>2500        stream    tcp    nowait    nobody    /usr/sbin/tcpd /usr/bin/hotsmtpd</p>
<p>This will set the inet daemon to listen to incoming calls on port 2500, and forward the connection to the hotsmtp daemon. Now, save your file, exit gedit, and restart your inetd server:</p>
<p><strong>Step 5</strong></p>
<p>Now restart the inerf service</p>
<p>sudo /etc/init.d/inetutils-inetd restart</p>
<p>If everything is working properly, you&#8217;ll see this pop up on your screen:</p>
<p>* Restarting internet superserver inetd                            [ ok ]</p>
<p>Now, close out of your terminal and start up Evolution. It may pop up the first-time use wizard, you can use that if you like. Or, you may have to go to Edit-&gt;Preferences and hit the Mail Accounts button on the left. However you choose to do it, here&#8217;s your information:</p>
<p>Email Address: xxx@hotmail.com (fill in your normal e-mail address that you use to login to hotmail)</p>
<p>Receive Server type: POP<br />
Server: 127.0.0.1<br />
Username: xxx@hotmail.com (same as above)<br />
Security: No encryption<br />
Authentication type: Password<br />
(Remember password checkbox is up to you)</p>
<p>Send Server type: SMTP<br />
Server: 127.0.0.1:2500<br />
[X] Server requires authentication (check this box)<br />
Use Secure Connection: No encryption<br />
Authentication Type: PLAIN<br />
Username: xxx@hotmail.com (same as above)<br />
(Optional Remember password checkbox)</p>
<p>Now you are ready to send and recieve mails from hot mails</p>


<p>Related posts:<ol><li><a href='http://webnesbay.com/send-messages-from-ubuntu-to-windows-over-lan/' rel='bookmark' title='Permanent Link: Send messages from Ubuntu to Windows over LAN'>Send messages from Ubuntu to Windows over LAN</a></li>
<li><a href='http://webnesbay.com/compare-local-and-remote-directories-in-ubuntu/' rel='bookmark' title='Permanent Link: Compare local and remote directories in ubuntu'>Compare local and remote directories in ubuntu</a></li>
<li><a href='http://webnesbay.com/linux-keylogger-in-ubuntu/' rel='bookmark' title='Permanent Link: Linux Keylogger in Ubuntu'>Linux Keylogger in Ubuntu</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://webnesbay.com/send-and-receive-hotmail-through-evolution-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Control Apache with the apachectl command</title>
		<link>http://webnesbay.com/control-apache-with-the-apachectl-command/</link>
		<comments>http://webnesbay.com/control-apache-with-the-apachectl-command/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 07:20:57 +0000</pubDate>
		<dc:creator>WEBNESBAY</dc:creator>
				<category><![CDATA[Internet tools]]></category>
		<category><![CDATA[Apache Configuration]]></category>
		<category><![CDATA[Apache Httpd]]></category>
		<category><![CDATA[Apache Server]]></category>
		<category><![CDATA[Apache Web Server]]></category>
		<category><![CDATA[Companion]]></category>
		<category><![CDATA[Configuration Changes]]></category>
		<category><![CDATA[Configuration File]]></category>
		<category><![CDATA[Configuration Files]]></category>
		<category><![CDATA[Conjunction]]></category>
		<category><![CDATA[Convenience]]></category>
		<category><![CDATA[Default Files]]></category>
		<category><![CDATA[Distributions]]></category>
		<category><![CDATA[Guesswork]]></category>
		<category><![CDATA[Interesting Things]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[People]]></category>
		<category><![CDATA[Production Configuration]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Syntax Check]]></category>
		<category><![CDATA[Web Server Software]]></category>

		<guid isPermaLink="false">http://webnesbay.com/?p=259</guid>
		<description><![CDATA[The Apache web server is arguably the best and most powerful web server software available for any operating system.
While many learn to edit the configuration files and configure or enable various modules, the bulk of what most people do with Apache is manage the content that Apache serves, with very little attention paid to what Apache itself can do.
Distributions provide initialisation scripts for Apache that take the guesswork out of using it. For instance, service httpd start would start the [...]


Related posts:<ol><li><a href='http://webnesbay.com/harder-apache-web-server-security/' rel='bookmark' title='Permanent Link: Harder Apache Web Server Security'>Harder Apache Web Server Security</a></li>
<li><a href='http://webnesbay.com/install-apache-2-2-on-windows/' rel='bookmark' title='Permanent Link: Install Apache 2.2 on windows'>Install Apache 2.2 on windows</a></li>
<li><a href='http://webnesbay.com/run-gentoo-apache2-php/' rel='bookmark' title='Permanent Link: Run Gentoo + Apache2 + PHP'>Run Gentoo + Apache2 + PHP</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>The Apache web server is arguably the best and most powerful web server software available for any operating system.</p>
<p>While many learn to edit the configuration files and configure or enable various modules, the bulk of what most people do with Apache is manage the content that Apache serves, with very little attention paid to what Apache itself can do.</p>
<p>Distributions provide initialisation scripts for Apache that take the guesswork out of using it. For instance, <em>service httpd start</em> would start the server and an associated <em>stop</em> command would bring it down. These initscripts, while a convenience, largely mask the power of the command they are calling, namely <em>apachectl</em>.</p>
<p>The apachectl command is a rather overlooked program when it comes to working with Apache; however, it can be used to do some very interesting things. For instance, you can debug or test configurations by starting Apache with an alternative configuration file, leaving the working/production configuration untouched until changes can be tested. This can be accomplished with the <em>-f</em> option and the specification of an alternate configuration file:</p>
<p><code># apachectl -f /etc/httpd/conf/httpd-testing.conf</code></p>
<p>This will start an Apache (httpd) process using the <em>httpd-testing.conf</em> file as the primary configuration file rather than the production <em>httpd.conf</em>.</p>
<p>A companion option here would be the <em>-t</em> option which performs a syntax check on configuration files, validating any changes you make. The command will warn if it detects any problems with the configuration file. Use it in conjunction with the <em>-f</em> option to validate in-progress configuration changes on non-default files: <em>apachectl -t -f /etc/httpd/conf/httpd-testing.conf</em>.</p>
<p>Another useful set of options are those that allow you to examine configuration content without actually opening and scanning configuration files. The <em>apachectl -M</em> command will list all loaded modules, those compiled-in and those that are shared. <em>apachectl -l</em> will display only those static modules that Apache loads; these would be the modules compiled into the httpd binary.</p>
<p>The <em>apachectl -L</em> option displays all available directives that Apache understands, and which module they are associated with. This is a great way to find out what options come from which module, and what they do. For instance:</p>
<p><code># apachectl -L</code></p>
<p><code>&lt;Directory (core.c)</code></p>
<p><code> Container for directives affecting resources located in the specified directories</code></p>
<p><code> Allowed in *.conf only outside &lt;Directory&gt;, &lt;Files&gt; or &lt;Location&gt;</code></p>
<p><code>...</code></p>
<p>The apachectl command also allows you to override directives on the command-line by using the <em>-c</em> option. This can be useful to temporarily test a new site or code. For instance, to override the default ServerLimit directive, use:</p>
<p><code># apachectl start -c "ServerLimit 1024"</code></p>
<p>Other useful directives to override include DocumentRoot and Listen, among others.</p>


<p>Related posts:<ol><li><a href='http://webnesbay.com/harder-apache-web-server-security/' rel='bookmark' title='Permanent Link: Harder Apache Web Server Security'>Harder Apache Web Server Security</a></li>
<li><a href='http://webnesbay.com/install-apache-2-2-on-windows/' rel='bookmark' title='Permanent Link: Install Apache 2.2 on windows'>Install Apache 2.2 on windows</a></li>
<li><a href='http://webnesbay.com/run-gentoo-apache2-php/' rel='bookmark' title='Permanent Link: Run Gentoo + Apache2 + PHP'>Run Gentoo + Apache2 + PHP</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://webnesbay.com/control-apache-with-the-apachectl-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
