<?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>Learning is an Art &#187; apache</title>
	<atom:link href="http://www.singhvishwajeet.com/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.singhvishwajeet.com</link>
	<description>My experiences</description>
	<lastBuildDate>Thu, 10 Jun 2010 22:19:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Subversion Domain Authentication with Apache</title>
		<link>http://www.singhvishwajeet.com/2009/10/20/subversion-domain-authentication-with-apache/</link>
		<comments>http://www.singhvishwajeet.com/2009/10/20/subversion-domain-authentication-with-apache/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 16:42:16 +0000</pubDate>
		<dc:creator>Vishwajeet Singh</dc:creator>
				<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[domain authentication]]></category>
		<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://www.singhvishwajeet.com/?p=195</guid>
		<description><![CDATA[ [...]]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript"><!--
google_ad_client = "pub-3616637514641870";
/* 728x90, created 4/30/10 */
google_ad_slot = "2350940629";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p><p>This article covers how to setup domain authentication for Subversion with Apache using mod_auth_sspi , I am running Apache 2.2 and Subversion 1.5. First of all you need to get SSPI module from its new home at<a title="SSPI" href="http://sourceforge.net/projects/mod-auth-sspi/" target="_blank"> sourceforge</a> , module can be directly downloaded from <a title="SSPI Download" href="http://sourceforge.net/projects/mod-auth-sspi/files/mod-auth-sspi/mod_auth_sspi%201.0.4/mod_auth_sspi-1.0.4-2.2.2.zip/download" target="_blank">here</a>. Once you have downloaded the module extract using some zip utility there will be a bin folder inside the extracted folder and inside bin folder there will a file named mod_auth_sspi.so take this file and drop it in Apache&#8217;s modules folder.</p>
<p>Once you are done with above steps we now need to modify Apache&#8217;s httpd.conf to include the domain authentication for our Subversion repository make changes to httpd.conf as shown below,  first we need to ensure that we have required modules loaded</p>
<div class="codesnip-container" >LoadModule sspi_auth_module   modules/mod_auth_sspi.so<br />
LoadModule dav_svn_module     modules/mod_dav_svn.so<br />
LoadModule authz_svn_module   modules/mod_authz_svn.so</div>
<p>To mod_dav_svn to work you need to uncomment the line which loads mod_dav module Apache look for it and uncomment if its commented.</p>
<p>Now the real magic configuration starts which will enable us to authenticate Subversion users against AD domains make changes in httpd.conf as shown below</p>
<div class="codesnip-container" >&lt;Location /svn/myrepo&gt;<br />
dav svn<br />
SVNPath &#8220;d:/svnrepos/myrepo&#8221;<br />
# Domain Authentication settings<br />
AuthName &#8220;Subversion domain&#8221;<br />
AuthType SSPI<br />
SSPIAuth On<br />
SSPIAuthoritative On<br />
SSPIDomain MYDOMAINNAME<br />
SSPIOfferBasic on<br />
SSPIOmitDomain On<br />
Require valid-user<br />
# Subversion&#8217;s authorization file<br />
AuthzSVNAccessFile &#8220;d:/svnrepos/authz&#8221;<br />
&lt;/Location&gt;</div>
<p>Once done with above changes save the file and restart Apache and try accessing the URL http://&lt;yourservername&gt;/svn/myrepo you will be prompted for authentication saying &#8220;Subversion Domain&#8221; enter your domain name without domain as we have  SSPIOmitDomain On and based on Subversion authorization file i.e authz in our scenario you will be able to see repository or you will get forbidden error.</p>
<p>We are done with setting up domain authentication, in-case you face any problem with above settings feel free to write to me.</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">
<pre>LoadModule sspi_auth_module   modules/mod_auth_sspi.so
LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.singhvishwajeet.com/2009/10/20/subversion-domain-authentication-with-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Apache httpd sever On Ubuntu and FAQ&#8217;s</title>
		<link>http://www.singhvishwajeet.com/2009/10/01/installing-apache-httpd-sever-on-ubuntu-and-faqs/</link>
		<comments>http://www.singhvishwajeet.com/2009/10/01/installing-apache-httpd-sever-on-ubuntu-and-faqs/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 21:15:31 +0000</pubDate>
		<dc:creator>Vishwajeet Singh</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[ubunt]]></category>

		<guid isPermaLink="false">http://www.singhvishwajeet.com/?p=185</guid>
		<description><![CDATA[ [...]]]></description>
			<content:encoded><![CDATA[<p>I have been fiddling around with Apache for quite sometime now on Ubuntu and there were few questions which used to come to my mind as novice user initially like how do i install apache on first place, where are Apache logs, where are Apache conf files located, how do I add new site to Apache server, stopping and restarting the server so I thought that I would some up answer to all these question at a single place for my own future reference and for the help of my readers.</p>
<p>So first things first I will start with how to install apache here apt-get comes to your rescue and thanks to Ubuntu archives all you need to give simple on liner as shown below</p>
<div class="codesnip-container" >sudo apt-get install apache2</div>
<p>So now that we are done with installation lets move on other things like for troubleshooting you need to know where are apache logs, apache logs can be found at below mentioned path here you can find access logs as well as error logs</p>
<div class="codesnip-container" >/var/log/apache2/</div>
<p>we also need to know where are configuration related files to our web server for that we need to look at path mentioned below here you will find apache2.conf, httpd.conf, ports.conf and other configuration related files how to modify and update them is beyond the scope of this nifty article</p>
<div class="codesnip-container" >/etc/apache2/</div>
<p>Moving on to next FAQ this one is my favourite now that I have setup apache how do I go about hosting my site thats the whole purpose for you following along this article, all you need to do is follow the sequence mentioned below</p>
<p>Create a file mysite or what ever name you want to give and add configuration related to your site in this file</p>
<div class="codesnip-container" >gedit /etc/apache2/sites-available/mysite</div>
<div class="codesnip-container" >cd /etc/apache2/sites-available</div>
<div class="codesnip-container" >sudo a2ensite mysite</div>
<p>you are done with setting up your site.</p>
<p>Last of these faq&#8217;s is how do I start and stop the server for doing this all you need to know about is apache2ctl utility and you can start stop using it pretty easily</p>
<div class="codesnip-container" >apache2ctl start</div>
<div class="codesnip-container" >apache2ctl stop</div>
<div class="codesnip-container" >apache2ctl restart</div>
<p>We are done with the faq&#8217;s which were in mind and I will keep on updating this list in future as and when things come to my mind. In next article I would covering how to use apache to host Subversion repositories along with domain authentication so stay tuned.</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 165px; width: 1px; height: 1px;">
<pre>/etc/apache2/conf.d/</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.singhvishwajeet.com/2009/10/01/installing-apache-httpd-sever-on-ubuntu-and-faqs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
