httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <>
Subject [users@httpd] SVN and httpd w/ SSL
Date Fri, 02 Dec 2005 03:39:23 GMT
Hi, I'm trying to setup an svn repository that works with httpd2 over 
ssl.  I've gotten pretty far following the Subversion book.
So I can start the server.  I can make requests to it.
I can check out my repo via svn and ssl.

Then I try to do an svn add, svn ci
And I get this -- any great ideas ?

client stderr:
svn: Commit failed (details follow):
svn: Can't create directory '/home/svn/db/transactions/8-1.txn': 
Permission denied
svn: Your commit message was left in a temporary file:
svn:    '/y/svn-commit.5.tmp'

sever error_log:
[Thu Dec 01 22:24:13 2005] [error] [client] client denied 
by server configuration: /www/sites/svn.x.y

First some versions:
   FreeBSD 6.0-RELEASE
   Apache/2.0.55 DAV/2 SVN/1.3.0-rc2 mod_ssl/2.0.55 OpenSSL/0.9.7e

   If anyone cares, these are all from the ports tree

svnadmin create /home/svn/repos
chown -R nobody:svnadmin /home/svn/repos

htpasswd -cm /usr/local/etc/apache2/svn-users pgollucci

cat /usr/local/etc/apache2/svn-auth
* = rw

(I'll restrict this once I get it working)

cat /usr/local/etc/apache2/httpd.conf
ServerRoot "/usr/local"

Listen 443
LockFile /var/log/httpsd-accept.lock
PidFile /var/run/

LogLevel info
ErrorLog /var/log/httpsd-error.log
User nobody
Group svnadmin

ServerAdmin w@x.y
ServerName x.y
ServerSignature EMail
UseCanonicalName Off

LoadModule ssl_module libexec/apache2/
LoadModule mime_module libexec/apache2/

AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl    .crl

SSLRandomSeed startup builtin
SSLRandomSeed connect builtin

SSLMutex  file:/var/log/httpd-ssl_mutex
SSLSessionCache shm:/var/log/httpd-ssl_gcache_data(512000)

LoadModule setenvif_module libexec/apache2/

SetEnvIf User-Agent ".*MSIE.*" \
          nokeepalive ssl-unclean-shutdown \
          downgrade-1.0 force-response-1.0

LoadModule auth_module         libexec/apache2/
LoadModule access_module       libexec/apache2/
LoadModule dav_module          libexec/apache2/
LoadModule dav_fs_module       libexec/apache2/
LoadModule dav_svn_module      libexec/apache2/
LoadModule authz_svn_module    libexec/apache2/

<Location />
     Order allow,deny
     Allow from all

NameVirtualHost *
<VirtualHost svn.x.y:443>
   ServerName svn.x.y:443

   SSLEngine  On
   SSLCertificateFile     /usr/local/etc/apache2/certs/svn.x.y.crt
   SSLCertificateKeyFile  /usr/local/etc/apache2/keys/svn.x.y.key

   DocumentRoot /www/sites/svn.x.y

   <Location /repos>
         DAV svn
         SVNPath /home/svn

         AuthzSVNAccessFile /usr/local/etc/apache2/svn-auth

         AuthName "Cluster"
         AuthType Basic
         AuthUserFile /usr/local/etc/apache2/svn-users
         Require valid-user

                 Order allow,deny
                 Deny from all

"Love is not the one you can picture yourself marrying,
but the one you can't picture the rest of your life without."

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."

Philip M. Gollucci ( 301.254.5198
Consultant /
Senior Software Engineer - TicketMaster -

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message