I have Redmine setup on an Apache server (RHEL 6.1). I also have a subversion server running at /var/svn. I have the proper LDAP authentication for my subversion configured, so when someone accesses the subversion repository (either via command line: svn checkout/update/commit, or through http://myserver.com/svn/project), it prompts for a username and password that authenticates against the LDAP server.
However: When browsing the project’s page in Redmine, I see the “Repository” tab appear (and it links to the proper address: http://myserver.com/svn/project). But when I navigate to this tab, it displays “404 The entry or revision was not found in the repository”. I have a feeling that the 404 is coming from Redmine not being able to authenticate against LDAP. So my question is how to allow Redmine into that directory, but everyone else needs to be authenticated against LDAP?
I have figured out my problem and came up with a fairly simple solution. My assumption was correct – because Redmine didn’t know how to handle the LDAP request, it threw a 404.
Below is the proper Apache configuration to allow Redmine (or any service running on the same server) through the authentication process:
I hope this helps someone else looking for a similar solution!