Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I setup subversion with remote access over apache. I created an htpasswd file for it, but now I've forgotten the filename and path. How can I find it?

share|improve this question
    
Please update your question with: OS+major/minor version, Apache-httpd version. –  Nils Jan 13 '12 at 21:12
    
If SVN is using it, it must be listed in one of the sites-enabled files –  charlesbridge Jan 13 '12 at 21:28
add comment

1 Answer 1

up vote 1 down vote accepted

The file has to be located in the svn htdocs directory tree and there has to be a reference in the configuration as well.

But if you do at least remember a part of the content of the file (e.g. a username) you can search beginning at your DocumentRoot-directory:

grep -RI "$USERNAME" $DOCROOT/*

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.