Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6659019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:58:55+00:00 2026-05-26T01:58:55+00:00

I have Redmine setup on an Apache server (RHEL 6.1). I also have a

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T01:58:56+00:00Added an answer on May 26, 2026 at 1:58 am

    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:

    <Location /svn>
        # The following two lines allow for any request made by this machine through
        #  We do this to allow Redmine to have access without needing to authenticate against LDAP
        # NOTE: The IP address MUST be the one given by DHCP - the loop-back (127.0.0.1) will NOT WORK
        Order allow,deny
        Allow from ACTUAL_IP_ADDRESS (example: 123.45.67.100)
    
    
        # The following authenticates against LDAP for any request NOT made by the same server
        # This includes anyone attempting to access:
        #       http://myserver.com/svn/*
        #  either via web-browser, or svn command
        #
        # Tell apache this is a subversion repository
        DAV svn
        # Where the subversion repository list exists on the file system
        SVNParentPath "/var/svn"
        # What kind of authentication 
        AuthType Basic
        AuthName "Restricted Subversion Content"
        AuthBasicProvider ldap
        AuthLDAPBindDN "YOUR_BIND_DN"
        AuthLDAPBindPassword "YOUR_BIND_PASSWORD"
        AuthLDAPURL "YOUR_LDAP_URL"
        # Require a valid-LDAP user (if not from the allowed IP address)
        Require valid-user
    
        # This line (very important) tells Apache that the request needs to follow AT LEAST
        # one of the following:
        #       - The request is from the IP address listed above
        #       - All others MUST authenticate using LDaP
        # If we wanted BOTH to be required (not in our case), we would use "Satisfy All"
        Satisfy Any
    

    I hope this helps someone else looking for a similar solution!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have Ubuntu 10.04 server with redmine installed and also git is installed, I
We have a server setup with Redmine to track our bugs. It seems that
I have set up a Redmine installation on a Windows server using the BitNami
I have to move Redmine to my local server. To achieve this, I installed
I'm trying to install redmine on a Centos server. I already have PHP and
I have the Bitnami Ruby Stack with the Redmine module installed on Windows Server
I have Windows Server 2008 R2 with MySQL and Subversion installed separately. Just to
I have Windows Server 2008 R2 with MySQL and Subversion installed separately. Just to
I have just set up Redmine on my server with a project that has
I've got apache2.2 on windows. I'm trying to serve both subversion (/svn) and redmine

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.