<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.7" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Installation of Subversion on Ubuntu, with Apache, SSL, and BasicAuth.</title>
	<link>http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/</link>
	<description>Viktor Zigo</description>
	<pubDate>Wed, 20 Aug 2008 17:22:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.7</generator>

	<item>
		<title>by: Kesteven</title>
		<link>http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/#comment-36124</link>
		<pubDate>Tue, 05 Aug 2008 15:19:34 +0000</pubDate>
		<guid>http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/#comment-36124</guid>
					<description>Hello!

I have followed the tutorial, but i can't make it work. After finishing all steps, both lynx from the local machine and other pcs in my network can't access to the svn folder. Access to the apache root folder works fine. I'm using a Ubuntu 8.04 Server Edition (64 bit).

If anybody knows what is the problem, that would help me a lot. Thanks in advance!</description>
		<content:encoded><![CDATA[<p>Hello!</p>
<p>I have followed the tutorial, but i can&#8217;t make it work. After finishing all steps, both lynx from the local machine and other pcs in my network can&#8217;t access to the svn folder. Access to the apache root folder works fine. I&#8217;m using a Ubuntu 8.04 Server Edition (64 bit).</p>
<p>If anybody knows what is the problem, that would help me a lot. Thanks in advance!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Simisani Takbobana</title>
		<link>http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/#comment-35125</link>
		<pubDate>Tue, 29 Jul 2008 03:55:04 +0000</pubDate>
		<guid>http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/#comment-35125</guid>
					<description>I followed the tutorial  and worked fine until I tried to access my SVN repository, it keeps on asking for password and user name without letting me in. Anyone with a clue of what I am might be missing ? I am using Hardy Heron</description>
		<content:encoded><![CDATA[<p>I followed the tutorial  and worked fine until I tried to access my SVN repository, it keeps on asking for password and user name without letting me in. Anyone with a clue of what I am might be missing ? I am using Hardy Heron
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: accaquattro</title>
		<link>http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/#comment-32269</link>
		<pubDate>Wed, 09 Jul 2008 17:39:08 +0000</pubDate>
		<guid>http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/#comment-32269</guid>
					<description>QUOTE:
Hi,

I fixed the problem, I had to move the

DAV svn
SVNParentPath /var/svn
AuthType Basic
AuthName “Subversion Repository”
AuthUserFile /etc/apache2/dav_svn.passwd
Require valid-user
SSLRequireSSL

from dav_svn.conf to /etc/apache2/sites-available/servername

And insert the data in between the

// right here    </description>
		<content:encoded><![CDATA[<p>QUOTE:<br />
Hi,</p>
<p>I fixed the problem, I had to move the</p>
<p>DAV svn<br />
SVNParentPath /var/svn<br />
AuthType Basic<br />
AuthName “Subversion Repository”<br />
AuthUserFile /etc/apache2/dav_svn.passwd<br />
Require valid-user<br />
SSLRequireSSL</p>
<p>from dav_svn.conf to /etc/apache2/sites-available/servername</p>
<p>And insert the data in between the</p>
<p>// right here
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: A Singh</title>
		<link>http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/#comment-30464</link>
		<pubDate>Tue, 24 Jun 2008 20:14:09 +0000</pubDate>
		<guid>http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/#comment-30464</guid>
					<description>Hi,
I get this problem when i am using SVN via apache reverse proxy. ? Any ideas ??
svn: PROPFIND request failed on '/svn/REPOSITORY'
svn: PROPFIND of '/svn/REPOSITORY': 405 Method Not Allowed (https://pc2)

PC 1- SVN server   Apache (SSL enabled)
PC 2- APache (reverse proxy   proxypass) connects to PC1 via SSl
when  svn list https://PC1/svn/REPOSITORY is issued


In PC-2
in config file /etc/apache2/sites-available/myconfig (included via a2ensite command)
ProxyPassReverse /svn/REPOSITORY/ https://PC1/svn/REPOSITORY/
 ProxyPass svn/REPOSITORY/ https://PC1/svn/REPOSITORY/

	 
		
		  Order Deny,Allow
		  Allow from all
		  Satisfy Any
		
	  

svn list https://pc2/pc1/</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I get this problem when i am using SVN via apache reverse proxy. ? Any ideas ??<br />
svn: PROPFIND request failed on &#8216;/svn/REPOSITORY&#8217;<br />
svn: PROPFIND of &#8216;/svn/REPOSITORY&#8217;: 405 Method Not Allowed (https://pc2)</p>
<p>PC 1- SVN server   Apache (SSL enabled)<br />
PC 2- APache (reverse proxy   proxypass) connects to PC1 via SSl<br />
when  svn list <a href="https://PC1/svn/REPOSITORY" rel="nofollow">https://PC1/svn/REPOSITORY</a> is issued</p>
<p>In PC-2<br />
in config file /etc/apache2/sites-available/myconfig (included via a2ensite command)<br />
ProxyPassReverse /svn/REPOSITORY/ <a href="https://PC1/svn/REPOSITORY/" rel="nofollow">https://PC1/svn/REPOSITORY/</a><br />
 ProxyPass svn/REPOSITORY/ <a href="https://PC1/svn/REPOSITORY/" rel="nofollow">https://PC1/svn/REPOSITORY/</a></p>
<p>		  Order Deny,Allow<br />
		  Allow from all<br />
		  Satisfy Any</p>
<p>svn list <a href="https://pc2/pc1/" rel="nofollow">https://pc2/pc1/</a>
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Theuns Heydenrych</title>
		<link>http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/#comment-28100</link>
		<pubDate>Fri, 06 Jun 2008 08:57:41 +0000</pubDate>
		<guid>http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/#comment-28100</guid>
					<description>HI
I am trying to install SVN Apache and SSL on Ubuntu Hardy Heron
I followed all the instructions but still get this error :

(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down

We got apache running yesterday with SSL and a colleague of mine installed Samba , and this morning i whent ahead and create the svn repositories and when restarting apache it gives the socket error.

Any one that can give me maybe a hint?
Thanks in advance</description>
		<content:encoded><![CDATA[<p>HI<br />
I am trying to install SVN Apache and SSL on Ubuntu Hardy Heron<br />
I followed all the instructions but still get this error :</p>
<p>(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80<br />
no listening sockets available, shutting down</p>
<p>We got apache running yesterday with SSL and a colleague of mine installed Samba , and this morning i whent ahead and create the svn repositories and when restarting apache it gives the socket error.</p>
<p>Any one that can give me maybe a hint?<br />
Thanks in advance
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Kjirsten</title>
		<link>http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/#comment-16130</link>
		<pubDate>Mon, 04 Feb 2008 13:31:35 +0000</pubDate>
		<guid>http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/#comment-16130</guid>
					<description>I only had two problems - 

1. adding the "Listen 443" port to ports.conf caused the apache server restart to fail with this error:

98): make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
Unable to open logs

Removing the extra Listen 443 statement from the ports.conf file fixed this.

2. Somehow my first attempt at generating the SSL cert failed, causing this error in the log file upon restart:

[error] Init: Unable to read server certificate from file /etc/apache2/ssl/apache.pem
[error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding  routines:ASN1_ITEM_EX_D2I:nested asn1 error

The server _appeared_ to start (no errors/warnings on the console) but trying to hit it from the browser or lynx showed that it was not in fact running. 

Fix was to delete the cert file (/etc/apache2/ssl/apache.pem) then generate it again. 

Thanks for publishing this - it saved a great deal of time and energy for many people!</description>
		<content:encoded><![CDATA[<p>I only had two problems - </p>
<p>1. adding the &#8220;Listen 443&#8243; port to ports.conf caused the apache server restart to fail with this error:</p>
<p>98): make_sock: could not bind to address 0.0.0.0:443<br />
no listening sockets available, shutting down<br />
Unable to open logs</p>
<p>Removing the extra Listen 443 statement from the ports.conf file fixed this.</p>
<p>2. Somehow my first attempt at generating the SSL cert failed, causing this error in the log file upon restart:</p>
<p>[error] Init: Unable to read server certificate from file /etc/apache2/ssl/apache.pem<br />
[error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag<br />
[error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding  routines:ASN1_ITEM_EX_D2I:nested asn1 error</p>
<p>The server _appeared_ to start (no errors/warnings on the console) but trying to hit it from the browser or lynx showed that it was not in fact running. </p>
<p>Fix was to delete the cert file (/etc/apache2/ssl/apache.pem) then generate it again. </p>
<p>Thanks for publishing this - it saved a great deal of time and energy for many people!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: pugna</title>
		<link>http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/#comment-15296</link>
		<pubDate>Fri, 18 Jan 2008 09:20:57 +0000</pubDate>
		<guid>http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/#comment-15296</guid>
					<description>Great Help Thanks

one tip: when I restarted apache it failed
I fixed it by opening the /etc/apache2/ports.conf
and commenting out with # the 3 extra lines I found in mine

#
#    Listen 443
#

I guess I didnt need to add the line "Listen 443" to my set up "ubuntu server 7.10"

Great Tut
Pugna</description>
		<content:encoded><![CDATA[<p>Great Help Thanks</p>
<p>one tip: when I restarted apache it failed<br />
I fixed it by opening the /etc/apache2/ports.conf<br />
and commenting out with # the 3 extra lines I found in mine</p>
<p>#<br />
#    Listen 443<br />
#</p>
<p>I guess I didnt need to add the line &#8220;Listen 443&#8243; to my set up &#8220;ubuntu server 7.10&#8243;</p>
<p>Great Tut<br />
Pugna
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Marcello</title>
		<link>http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/#comment-14795</link>
		<pubDate>Tue, 08 Jan 2008 23:53:27 +0000</pubDate>
		<guid>http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/#comment-14795</guid>
					<description>Works on Ubuntu 7.10... Just some notes:

- Dav module is already included on Apache2
- The  htpasswd2 does not exist... Instead, use the htpasswd... Also, the command described on the article just create a single user... In order to add more than one user, just append to the file as follows:

 sudo htpasswd &#62;&#62; -c -m /etc/apache2/dav_svn.passwd $USERNAME

- Warning message
"apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName"
-&#62; just add the following to global section of the apache2.conf
ServerName $HOSTNAME
Where $HOSTNAME is the convenient name you choose... I'm working on a localhost machine behind a firewall from a router, so I just used "localhost" 

- Warning messages
 [warn] NameVirtualHost *:443 has no VirtualHosts
  [warn] NameVirtualHost *:0 has no VirtualHosts

-&#62; The article states to change, the ...*443 line, but on mine there was nothing... So I had added the section instead of changing
 
NameVirtualHost *


To

NameVirtualHost *:443


Everything works great!!!! Thanks a lot</description>
		<content:encoded><![CDATA[<p>Works on Ubuntu 7.10&#8230; Just some notes:</p>
<p>- Dav module is already included on Apache2<br />
- The  htpasswd2 does not exist&#8230; Instead, use the htpasswd&#8230; Also, the command described on the article just create a single user&#8230; In order to add more than one user, just append to the file as follows:</p>
<p> sudo htpasswd &gt;&gt; -c -m /etc/apache2/dav_svn.passwd $USERNAME</p>
<p>- Warning message<br />
&#8220;apache2: Could not reliably determine the server&#8217;s fully qualified domain name, using 127.0.1.1 for ServerName&#8221;<br />
-&gt; just add the following to global section of the apache2.conf<br />
ServerName $HOSTNAME<br />
Where $HOSTNAME is the convenient name you choose&#8230; I&#8217;m working on a localhost machine behind a firewall from a router, so I just used &#8220;localhost&#8221; </p>
<p>- Warning messages<br />
 [warn] NameVirtualHost *:443 has no VirtualHosts<br />
  [warn] NameVirtualHost *:0 has no VirtualHosts</p>
<p>-&gt; The article states to change, the &#8230;*443 line, but on mine there was nothing&#8230; So I had added the section instead of changing</p>
<p>NameVirtualHost *</p>
<p>To</p>
<p>NameVirtualHost *:443</p>
<p>Everything works great!!!! Thanks a lot
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Tan Nhu</title>
		<link>http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/#comment-14344</link>
		<pubDate>Sat, 29 Dec 2007 13:33:57 +0000</pubDate>
		<guid>http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/#comment-14344</guid>
					<description>On Gusty (7.10), the package libapache-mod-dav is not found. So the tip is to enable Ubuntu 6.06 LTS Community Maintained (universe) repository in Synaptic, then install it, then disable :)</description>
		<content:encoded><![CDATA[<p>On Gusty (7.10), the package libapache-mod-dav is not found. So the tip is to enable Ubuntu 6.06 LTS Community Maintained (universe) repository in Synaptic, then install it, then disable :)
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Erik</title>
		<link>http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/#comment-14322</link>
		<pubDate>Sat, 29 Dec 2007 04:17:33 +0000</pubDate>
		<guid>http://alephzarro.com/blog/2007/01/07/installation-of-subversion-on-ubuntu-with-apache-ssl-and-basicauth/#comment-14322</guid>
					<description>I use to do:

sudo apache2-ssl-certificate -days 10000

to get a cert that doesn't run out after 1 month... now my server can run till I retire without whining about the cert being expired...

However, if you want security it could perhaps be a good idea to change cert now and then... I don't know... and I'm not security-paranoid so... 2035 as last valid year works fine for me...</description>
		<content:encoded><![CDATA[<p>I use to do:</p>
<p>sudo apache2-ssl-certificate -days 10000</p>
<p>to get a cert that doesn&#8217;t run out after 1 month&#8230; now my server can run till I retire without whining about the cert being expired&#8230;</p>
<p>However, if you want security it could perhaps be a good idea to change cert now and then&#8230; I don&#8217;t know&#8230; and I&#8217;m not security-paranoid so&#8230; 2035 as last valid year works fine for me&#8230;
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
