I am trying to figure out how to have apache redirect to a subversion repository after the requested URL is authorized for a user. After trying a lot of combinations the best result I can get is ave apache to redirect to target SVN repo folder as a web directory rather than the folder as a subversion repository.
The authorization steps work as expected, approving or denying the user, but then the redirect fails with Directory index forbidden by Options directive: /home/svn/svnRepo1/,
Folder set up /home/svn/svnRepo1 << the repo is working via myurl.com/svnRepo1 as expected /home/userA/myurl.com/protected
NB: the myurl.com/protected/svnRepo1 web folder does not exist
in the url conf files I have
<Location /svn> DAV svn SVNParentPath /home/svn </Location>
in the url.conf I have
<Location /protected/svnRepo1> AuthType openid-connect #Require valid-user Require claim folders:svnRepo1 </Location> Alias /protected/svnRepo1 /home/svn/svnRepo1
Lastly I would like to make the directives so a user can NOT access the repo directly by myurl.com/svnRepo1 as this would bypass the authorization process.