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 8867249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T16:59:10+00:00 2026-06-14T16:59:10+00:00

So i have SVN installed and using HTTPD for a remote repository. All works

  • 0

So i have SVN installed and using HTTPD for a remote repository. All works well, until i use the password file. This is not working at all. Apache’s error_log says

(13) Permission Denied: Could not open password file

I have set the passwd file’s chmod to 777 and chown to apache, I also set the parent folder of the repo and passwd file to chown apache and chmod 777…

I have no clue how this is a permissions problem anymore… any help please!!

UPDATE

I took SVN out of it, and just implemented a standard basic auth on one of my domains

<VirtualHost *:80>
    ServerName domain.com
    ServerAlias www.domain.com
    DocumentRoot "/var/www/www.domain.com/public_www"
    <Directory "/var/www/www.domain.com/public_www">
        Options -Indexes
        Order allow,deny
        Allow from all
        AllowOverride All
        AuthType Basic
        AuthName "Basic Authentication"
        AuthUserFile /path/to/authfile.htpasswd
        Require valid-user
    </Directory>
</VirtualHost>

I created the password file like this

htpasswd -cm /path/to/authfile.htpasswd username
password (and retype)

And finally

service httpd restart

Lo and behold, the auth prompt works as before, but the username and password DOES NOT! This is rather frustrating, i have double checked all the permissions, owners etc of the password file and parent folder, but i still get

(13) Permission Denied: Could not open password file

In the error_log for Apache

  • 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-06-14T16:59:11+00:00Added an answer on June 14, 2026 at 4:59 pm

    Maybe a bit of an obvious slap in my face:

    I had previously been putting /path/to/authfile.htpasswd out side of apaches home folder /var/www, when I put the password file in /var/www/svn-auth/*.htpasswd than it worked.

    Regardless of chown (apache owning /svn-auth and .htpasswd files within) it was probably being denied because it’s likely that apache’s (as a user) home folder is /var/www/* and was being denied access outside of it…

    Lesson learned

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

Sidebar

Related Questions

i am very newbie in using svn repository for version maintenance, I have installed
On my workstation I have SVN repository. I use it on both workstation and
I have created a repository in a server using VisualSVN server. I Installed AnkhSVN
I have SvnServe installed on my debian server, and it works well with Visual
I have an AWS instance using the Bitnami SVN install. I hoped this would
We have a local server with SVN installed on it that we are using
We have just recently got our SVN server installed. My developers have added the
I have installed git and svn with homebrew on my mac running 10.7.4. There
I have installed Apache and Subversion on Windows. My config is: <Location /svn> DAV
I have Eclipse 3.4.2 installed on Windows with subclipse. Another developer added an SVN

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.