<?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>Apache Interview Questions &amp; Answers Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/apache-interview-questions-answers/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/apache-interview-questions-answers/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:53:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Apache Interview Questions &#8211; Apache Job Interview Kit</title>
		<link>https://www.scmgalaxy.com/tutorials/apche-interview-questions/</link>
					<comments>https://www.scmgalaxy.com/tutorials/apche-interview-questions/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 17 Jun 2010 10:09:48 +0000</pubDate>
				<category><![CDATA[Interview Questions & Answers]]></category>
		<category><![CDATA[Answer]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Apache Interview]]></category>
		<category><![CDATA[Apache Interview Guide]]></category>
		<category><![CDATA[Apache Interview Q&A]]></category>
		<category><![CDATA[Apache Interview Questions & Answers]]></category>
		<category><![CDATA[Apache Job Interview]]></category>
		<category><![CDATA[Apache Job Interview Kit]]></category>
		<category><![CDATA[Apache Server]]></category>
		<category><![CDATA[Interview]]></category>
		<category><![CDATA[Interview Questions & Answer for Apache]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[Most Asked]]></category>
		<category><![CDATA[Questions]]></category>
		<category><![CDATA[Selected]]></category>
		<category><![CDATA[Sets]]></category>
		<category><![CDATA[Top]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/06/17/apche-interview-questions/</guid>

					<description><![CDATA[<p>Apache Interview Questions &#8211; Apache Job Interview Kit On a fresh install, why does Apache have three config files &#8211; [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/apche-interview-questions/">Apache Interview Questions &#8211; Apache Job Interview Kit</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-4287 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/06/apche-interview-questions.png" alt="apche-interview-questions-answers" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/06/apche-interview-questions.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/06/apche-interview-questions-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p>Apache Interview Questions &#8211; Apache Job Interview Kit</p>
<p><strong>On a fresh install, why does Apache have three config files &#8211; srm.conf, access.conf and httpd.conf?</strong> &#8211; The first two are remnants from the NCSA times, and generally you should be ok if you delete the first two, and stick with httpd.conf.</p>
<p><strong>What’s the command to stop Apache? </strong>&#8211; kill the specific process that httpd is running under, or killall httpd. If you have apachectl installed, use apachectl stop.</p>
<p><strong>What does apachectl graceful do?</strong> &#8211; It sends a SIGUSR1 for a restart, and starts the apache server if it’s not running.<br />
<strong>How do you check for the httpd.conf consistency and any errors in it?</strong> &#8211; apachectl configtest</p>
<p><strong>When I do ps -aux, why do I have one copy of httpd running as root and the rest as nouser?</strong> &#8211; You need to be a root to attach yourself to any Unix port below 1024, and we need 80.</p>
<p>But I thought that running apache as a root is a security risk? &#8211; That one root process opens port 80, but never listens to it, so no user will actually enter the site with root rights. If you kill the root process, you will see the other kids disappear as well.</p>
<p><strong>Why do I get the message &#8220;… no listening sockets available, shutting down&#8221;?</strong> &#8211; In Apache 2 you need to have a listen directive. Just put Listen 80 in httpd.conf.</p>
<p><strong>How do you set up a virtual host in Apache? </strong><br />
&lt;VirtualHost www.techinterviews.com&gt;<br />
ServerAdmin admin@techinterviews.com<br />
DocumentRoot /home/apache/share/htdocs/hostedsites<br />
ServerName www.techinterviews.com<br />
ErrorLog /home/apache/logs/error/hostedsites/error_log<br />
TransferLog /home/apache/logs/access/hostedsites/access_log<br />
&lt;/VirtualHost&gt;</p>
<p><strong>What is ServerType directive?</strong> &#8211; It defines whether Apache should spawn itself as a child process (standalone) or keep everything in a single process (inetd). Keeping it inetd conserves resources. This is deprecated, however.</p>
<p><strong>What is mod_vhost_alias?</strong> &#8211; It allows hosting multiple sites on the same server via simpler configurations.</p>
<p><strong>What does htpasswd do?</strong> &#8211; It creates a new user in a specified group, and asks to specify a password for that user.<br />
If you specify both deny from all and allow from all, what will be the default action of Apache? &#8211; In case of ambiguity deny always takes precedence over allow.</p>
<p>&nbsp;</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/apche-interview-questions/">Apache Interview Questions &#8211; Apache Job Interview Kit</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/apche-interview-questions/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
