[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Doc][i18n] I need help writting a howto svn (+apache)

From: Julien Bidault <developper_at_jubijub.com>
Date: 2004-08-20 15:10:52 CEST

Hi,

I'm french and as of now there is no doc at all in this language. While I don't
feel like I can translate the whole svn book (:D), I think I can write a howto,
explaining how to set up a proper svn repository from scratch using apache + svn.

I did a doc which is roughtly 18 pages about that, but I have a few problems I
need to clean before calling that a howto (I hate howtos that don't work, so I'm
concerned about the quality of mine). i'm considering writting it in english
also, which could be a quick start guide...

/* My repository is working and can be accessed, but I have a few problem with
the http part of it (I mean when browsing the repository using IE or Firefox)

- I laid out my repositories in a SVNParentPath.
- I set up [/] * = r, and various other authorisation stuff in a AuthzSVNAccess

when logging in http://server/svn , I get a 500 error...
when logging to http://server/svn/test, or any other repos, it works accordingly
with the auth I set.

/* I was unable to use the default xsl file provided in subversion repository. I
got an error saying unable to parse XSL file, etc...

anyway, here is my files :

HTTPD.CONF

#######################################################################
# 3-DDL HTTPD.CONF for Subversion #
#######################################################################

########################
# Global settings #
########################

# For Unix compatibility : create a group webgroup and a user webuser member of
webgroup
#User webuser
#Group webgroup

# location of various conf files, including/conf and /logs - can be overriden by
-f {conf file}
# or -d {server directory} options
ServerRoot "c:/apache/Apache2"
ErrorLog logs/error.log
PidFile logs/httpd.pid
TypesConfig conf/mime.types

# NT specific thread configuration
<IfModule mpm_winnt.c>
ThreadsPerChild 250
MaxRequestsPerChild 0
</IfModule>

# Set port to listen to
Listen 80

#Timeout
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15

#Log level
LogLevel warn

########################
# Modules #
########################
LoadModule access_module modules/mod_access.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_module modules/mod_auth.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule dav_module modules/mod_dav.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
LoadModule expires_module modules/mod_expires.so
LoadModule include_module modules/mod_include.so
LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so

# subversion required modules
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so

#####################################
# Default server settings (WWW) #
#####################################

# Name of the server (use DNS name or hostname or even IP (network, or localhost))
ServerName serveur-src

#server admin
ServerAdmin pab@3-ddl.com

#html files directory
DocumentRoot "c:/web/http"

#redirect to serverName, regardless the entry
UseCanonicalName on

#Directory valid index names
DirectoryIndex index.html

# default directory settings
<Directory />
    Options FollowSymLinks
    AllowOverride none
</Directory>

# DocumentRoot directory options
<Directory "c:/web/http">
# Options Indexes FollowSymLinks
        Options FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
</Directory>

# prevent .htaccess from beeing viewed by clients
<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>

# disables DNS lookup for clients IP
HostnameLookups Off

#language settings
AddLanguage fr .fr
AddLanguage en .en
LanguagePriority fr en

#caracters encoding defaults
AddDefaultCharset ISO-8859-1

#####################################
# Subversion server settings #
#####################################

# makes that all request to http://server/svn will be handled by SVN

#activates WEBDAV SVN handling
<Location ~ /svn>
        DAV svn
        #home of all repositories
        SVNParentPath "c:/web/subversion"
        # SVNIndexXSLT "/svnindex.xsl" <---- NOT WORKING

        # per directory access list
        AuthzSVNAccessFile "c:/web/access.conf"
        
        # try anonymous access first if it fails, challenge user for authentification
        Satisfy Any
        Require valid-user
        
        # set the auth method
        AuthType Basic
        AuthName "3-DDL Serveur de fichiers sources"
        #home of password file
        AuthUserFile "c:/web/passwd.conf"
        
        ErrorDocument 500 /error500.html
        UseCanonicalName on
        
        
</Location>

#####################################
# Bug server settings #
#####################################
Alias /error "/"
--------------------------------------------------------------------------
and the auth :

#Liste de droits
[groups]
admins = batman, superman
devel = toto, titi, tata
testers = athos, portos, aramis

[/]
* = r
@admins = rw
@devel = r
@testers = r

[test:/]
@admins = rw
@devel = rw
@testers = r
* =

[project:/]
#* = r
@admins = rw
@devel = rw
@testers = r
spiderman = rw
john = rw
smith = r

[project:/private]
@admins = rw
@devel =
@testers =
spiderman =
john =
smith =
* =

[private:/]
@admins = rw
* =

        

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 20 15:11:22 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.