##// END OF EJS Templates
changeset: add new diffs to changeset controller
changeset: add new diffs to changeset controller

File last commit:

r1109:3aef7260 default
r1139:35f09407 default
Show More
mod-dav-svn.conf.mako
79 lines | 3.0 KiB | application/x-mako | MakoHtmlLexer
Martin Bornhold
svn: Update and add doc strings and comments.
r560 # Auto generated configuration for use with the Apache mod_dav_svn module.
Martin Bornhold
svn: Add fake authentication to the mod_dav_svn config template.
r568 #
# WARNING: Make sure your Apache instance which runs the mod_dav_svn module is
# only accessible by RhodeCode. Otherwise everyone is able to browse
# the repositories or run subversion operations (checkout/commit/etc.).
#
Martin Bornhold
svn: Update and add doc strings and comments.
r560 # The mod_dav_svn module does not support subversion repositories which are
# organized in subfolders. To support the repository groups of RhodeCode it is
# required to provide a <Location> block for each group pointing to the
Martin Bornhold
svn-support: Add a note about the 'Error converting entry in directory to UTF-8' error.
r857 # repository group sub folder. To ease the configuration RhodeCode auto
# generates this file whenever a repository group is created/changed/deleted.
# Auto generation can be configured in the ini file. Settings are prefixed with
# ``svn.proxy``.
Martin Bornhold
svn: Add fake authentication to the mod_dav_svn config template.
r568 #
# To include this configuration into your apache config you can use the
# `Include` directive. See the following example snippet of a virtual host how
# to include this configuration file.
#
# <VirtualHost *:8080>
# ServerAdmin webmaster@localhost
# DocumentRoot /var/www/html
Martin Bornhold
svn: Escape environment variable syntax in comment to prevent mako from rendering it.
r569 # ErrorLog ${'${APACHE_LOG_DIR}'}/error.log
# CustomLog ${'${APACHE_LOG_DIR}'}/access.log combined
Martin Bornhold
svn: Add fake authentication to the mod_dav_svn config template.
r568 # Include /path/to/generated/mod_dav_svn.conf
# </VirtualHost>
Martin Bornhold
svn-support: Add a note about the 'Error converting entry in directory to UTF-8' error.
r857 #
# Depending on the apache configuration you may encounter the following error if
# you are using speecial characters in your repository or repository group
# names.
#
# ``Error converting entry in directory '/path/to/repo' to UTF-8``
#
# In this case you have to change the LANG environment variable in the apache
# configuration. This setting is typically located at ``/etc/apache2/envvars``.
# You have to change it to an UTF-8 value like ``export LANG="en_US.UTF-8"``.
# After changing this a stop and start of Apache is required (using restart
# doesn't work).
Martin Bornhold
svn: Add fake authentication to the mod_dav_svn config template.
r568
Added request header downgrade for COPY command to work on https setup. Fixes #4307
r1109 # fix https -> http downgrade with DAV. It requires an header downgrade for
# https -> http reverse proxy to work properly
RequestHeader edit Destination ^https: http: early
Martin Bornhold
svn: Add template to generate the apache mod_dav_svn config for all repository groups.
r558
Martin Bornhold
svn-support: Add proper escaping to the mod_dav_svn template. #4244...
r856 <Location "${location_root|n}">
Martin Bornhold
svn: Add fake authentication to the mod_dav_svn config template.
r568 # The mod_dav_svn module takes the username from the apache request object.
# Without authorization this will be empty and no username is logged for the
# transactions. This will result in "(no author)" for each revision. The
# following directives implement a fake authentication that allows every
# username/password combination.
AuthType Basic
Martin Bornhold
svn-support: Add proper escaping to the mod_dav_svn template. #4244...
r856 AuthName "${rhodecode_realm|n}"
Martin Bornhold
svn: Add fake authentication to the mod_dav_svn config template.
r568 AuthBasicProvider anon
Anonymous *
Require valid-user
Martin Bornhold
svn: Add template to generate the apache mod_dav_svn config for all repository groups.
r558 DAV svn
Martin Bornhold
svn-support: Add proper escaping to the mod_dav_svn template. #4244...
r856 SVNParentPath "${parent_path_root|n}"
SVNListParentPath ${"On" if svn_list_parent_path else "Off"|n}
Martin Bornhold
svn: Add fake authentication to the mod_dav_svn config template.
r568
Martin Bornhold
svn: Add template to generate the apache mod_dav_svn config for all repository groups.
r558 Allow from all
Order allow,deny
</Location>
Martin Bornhold
svn: Move path computation from themplate to python.
r570 % for location, parent_path in repo_group_paths:
Martin Bornhold
svn-support: Add proper escaping to the mod_dav_svn template. #4244...
r856 <Location "${location|n}">
Martin Bornhold
svn: Add fake authentication to the mod_dav_svn config template.
r568 AuthType Basic
Martin Bornhold
svn-support: Add proper escaping to the mod_dav_svn template. #4244...
r856 AuthName "${rhodecode_realm|n}"
Martin Bornhold
svn: Add fake authentication to the mod_dav_svn config template.
r568 AuthBasicProvider anon
Anonymous *
Require valid-user
Martin Bornhold
svn: Add template to generate the apache mod_dav_svn config for all repository groups.
r558 DAV svn
Martin Bornhold
svn-support: Add proper escaping to the mod_dav_svn template. #4244...
r856 SVNParentPath "${parent_path|n}"
SVNListParentPath ${"On" if svn_list_parent_path else "Off"|n}
Martin Bornhold
svn: Add fake authentication to the mod_dav_svn config template.
r568
Martin Bornhold
svn: Add template to generate the apache mod_dav_svn config for all repository groups.
r558 Allow from all
Order allow,deny
</Location>
% endfor