##// END OF EJS Templates
svn-support: Add a note about the 'Error converting entry in directory to UTF-8' error.
Martin Bornhold -
r857:e9660b32 default
parent child Browse files
Show More
@@ -1,65 +1,76 b''
1 # Auto generated configuration for use with the Apache mod_dav_svn module.
1 # Auto generated configuration for use with the Apache mod_dav_svn module.
2 #
2 #
3 # WARNING: Make sure your Apache instance which runs the mod_dav_svn module is
3 # WARNING: Make sure your Apache instance which runs the mod_dav_svn module is
4 # only accessible by RhodeCode. Otherwise everyone is able to browse
4 # only accessible by RhodeCode. Otherwise everyone is able to browse
5 # the repositories or run subversion operations (checkout/commit/etc.).
5 # the repositories or run subversion operations (checkout/commit/etc.).
6 #
6 #
7 # The mod_dav_svn module does not support subversion repositories which are
7 # The mod_dav_svn module does not support subversion repositories which are
8 # organized in subfolders. To support the repository groups of RhodeCode it is
8 # organized in subfolders. To support the repository groups of RhodeCode it is
9 # required to provide a <Location> block for each group pointing to the
9 # required to provide a <Location> block for each group pointing to the
10 # repository group sub folder.
10 # repository group sub folder. To ease the configuration RhodeCode auto
11 #
11 # generates this file whenever a repository group is created/changed/deleted.
12 # To ease the configuration RhodeCode auto generates this file whenever a
12 # Auto generation can be configured in the ini file. Settings are prefixed with
13 # repository group is created/changed/deleted. Auto generation can be configured
13 # ``svn.proxy``.
14 # in the ini file.
15 #
14 #
16 # To include this configuration into your apache config you can use the
15 # To include this configuration into your apache config you can use the
17 # `Include` directive. See the following example snippet of a virtual host how
16 # `Include` directive. See the following example snippet of a virtual host how
18 # to include this configuration file.
17 # to include this configuration file.
19 #
18 #
20 # <VirtualHost *:8080>
19 # <VirtualHost *:8080>
21 # ServerAdmin webmaster@localhost
20 # ServerAdmin webmaster@localhost
22 # DocumentRoot /var/www/html
21 # DocumentRoot /var/www/html
23 # ErrorLog ${'${APACHE_LOG_DIR}'}/error.log
22 # ErrorLog ${'${APACHE_LOG_DIR}'}/error.log
24 # CustomLog ${'${APACHE_LOG_DIR}'}/access.log combined
23 # CustomLog ${'${APACHE_LOG_DIR}'}/access.log combined
25 # Include /path/to/generated/mod_dav_svn.conf
24 # Include /path/to/generated/mod_dav_svn.conf
26 # </VirtualHost>
25 # </VirtualHost>
26 #
27 # Depending on the apache configuration you may encounter the following error if
28 # you are using speecial characters in your repository or repository group
29 # names.
30 #
31 # ``Error converting entry in directory '/path/to/repo' to UTF-8``
32 #
33 # In this case you have to change the LANG environment variable in the apache
34 # configuration. This setting is typically located at ``/etc/apache2/envvars``.
35 # You have to change it to an UTF-8 value like ``export LANG="en_US.UTF-8"``.
36 # After changing this a stop and start of Apache is required (using restart
37 # doesn't work).
27
38
28
39
29 <Location "${location_root|n}">
40 <Location "${location_root|n}">
30 # The mod_dav_svn module takes the username from the apache request object.
41 # The mod_dav_svn module takes the username from the apache request object.
31 # Without authorization this will be empty and no username is logged for the
42 # Without authorization this will be empty and no username is logged for the
32 # transactions. This will result in "(no author)" for each revision. The
43 # transactions. This will result in "(no author)" for each revision. The
33 # following directives implement a fake authentication that allows every
44 # following directives implement a fake authentication that allows every
34 # username/password combination.
45 # username/password combination.
35 AuthType Basic
46 AuthType Basic
36 AuthName "${rhodecode_realm|n}"
47 AuthName "${rhodecode_realm|n}"
37 AuthBasicProvider anon
48 AuthBasicProvider anon
38 Anonymous *
49 Anonymous *
39 Require valid-user
50 Require valid-user
40
51
41 DAV svn
52 DAV svn
42 SVNParentPath "${parent_path_root|n}"
53 SVNParentPath "${parent_path_root|n}"
43 SVNListParentPath ${"On" if svn_list_parent_path else "Off"|n}
54 SVNListParentPath ${"On" if svn_list_parent_path else "Off"|n}
44
55
45 Allow from all
56 Allow from all
46 Order allow,deny
57 Order allow,deny
47 </Location>
58 </Location>
48
59
49 % for location, parent_path in repo_group_paths:
60 % for location, parent_path in repo_group_paths:
50
61
51 <Location "${location|n}">
62 <Location "${location|n}">
52 AuthType Basic
63 AuthType Basic
53 AuthName "${rhodecode_realm|n}"
64 AuthName "${rhodecode_realm|n}"
54 AuthBasicProvider anon
65 AuthBasicProvider anon
55 Anonymous *
66 Anonymous *
56 Require valid-user
67 Require valid-user
57
68
58 DAV svn
69 DAV svn
59 SVNParentPath "${parent_path|n}"
70 SVNParentPath "${parent_path|n}"
60 SVNListParentPath ${"On" if svn_list_parent_path else "Off"|n}
71 SVNListParentPath ${"On" if svn_list_parent_path else "Off"|n}
61
72
62 Allow from all
73 Allow from all
63 Order allow,deny
74 Order allow,deny
64 </Location>
75 </Location>
65 % endfor
76 % endfor
General Comments 0
You need to be logged in to leave comments. Login now