Browse Source

might work

main
Holger Frey 3 years ago
parent
commit
2df62f5380
  1. 2
      Dockerfile
  2. 6
      dav_svn.conf

2
Dockerfile

@ -18,7 +18,7 @@ RUN mkdir /var/lib/dav/
RUN chown deploy:deploy /var/lib/dav/ RUN chown deploy:deploy /var/lib/dav/
# apache should run as user deploy # apache should run as user deploy
RUN sed -i .bak -r 's/(User|Group) apache/\1 deploy/' /etc/apache2/httpd.conf RUN sed -i.bak -r 's/(User|Group) apache/\1 deploy/' /etc/apache2/httpd.conf
RUN openrc RUN openrc
RUN touch /run/openrc/softlevel RUN touch /run/openrc/softlevel

6
dav_svn.conf

@ -1,8 +1,7 @@
LoadModule dav_svn_module /usr/lib/apache2/mod_dav_svn.so LoadModule dav_svn_module /usr/lib/apache2/mod_dav_svn.so
LoadModule authz_svn_module /usr/lib/apache2/mod_authz_svn.so LoadModule authz_svn_module /usr/lib/apache2/mod_authz_svn.so
<VirtualHost 127.0.0.1:8000> <Location />
<Location />
DAV svn DAV svn
SVNParentPath /data SVNParentPath /data
SVNListParentPath On SVNListParentPath On
@ -15,5 +14,4 @@ LoadModule authz_svn_module /usr/lib/apache2/mod_authz_svn.so
AuthUserFile /data/.htpasswd AuthUserFile /data/.htpasswd
AuthzSVNAccessFile /data/authz AuthzSVNAccessFile /data/authz
Require valid-user Require valid-user
</Location> </Location>
</VirtualHost>
Loading…
Cancel
Save