Apache error log:
/htpasswd2: No such file or directory
I find it strance, since my config file says:
$htpassword_cmd = "/srv/www/vhosts/mydomain/bin/htpasswd2";
And I have a
<Directory /srv/www/vhosts/mydomain/httpsdocs> php_admin_value open_basedir ".:(...):/srv/www/vhosts/mydomain/svn:/srv/www/vhosts/mydomain/bin" </Directory>
In mydomain/svn I have the svn user and authz files, under mydomain/svn/repos I have the repos. Unter mydomain/bin I have the needed binaries.
I suppose it is one of those strange apache/ suexex/ opendir/ access rights problems.
Any help?
brgds,
Papick
Hi there,
Sorry to ask, but are you sure you haven't accidentally put a space somewhere in that config line?
Further, have you enterred a correct location of the passwd file?
$svn_passwd_file = "/var/www/repos/passwdfile";
Kind regards, Marijn
Hi,
well, there are some spaces, but none in between the quotes:
<config> //Shell command's $htpassword_cmd = "/srv/www/vhosts/mydomain/bin/htpasswd2"; $svn_cmd = "/srv/www/vhosts/mydomain/bin/svn"; $svnadmin_cmd = "/srv/www/vhosts/mydomain/bin/svnadmin";
//Subversion locations $svn_repos_loc = "/srv/www/vhosts/mydomain/svn/repos"; $svn_passwd_file = "/srv/www/vhosts/mydomain/svn/svn.users"; $svn_access_file = "/srv/www/vhosts/mydomain/svn/svn.authz"; </config>
The path to the password and access files are ok.
Log in to post a comment.
Apache error log:
/htpasswd2: No such file or directory
I find it strance, since my config file says:
$htpassword_cmd = "/srv/www/vhosts/mydomain/bin/htpasswd2";
And I have a
<Directory /srv/www/vhosts/mydomain/httpsdocs>
php_admin_value open_basedir ".:(...):/srv/www/vhosts/mydomain/svn:/srv/www/vhosts/mydomain/bin"
</Directory>
In mydomain/svn I have the svn user and authz files, under mydomain/svn/repos I have the repos. Unter mydomain/bin I have the needed binaries.
I suppose it is one of those strange apache/ suexex/ opendir/ access rights problems.
Any help?
brgds,
Papick
Hi there,
Sorry to ask, but are you sure you haven't accidentally put a space somewhere in that config line?
Further, have you enterred a correct location of the passwd file?
$svn_passwd_file = "/var/www/repos/passwdfile";
Kind regards,
Marijn
Hi,
well, there are some spaces, but none in between the quotes:
<config>
//Shell command's
$htpassword_cmd = "/srv/www/vhosts/mydomain/bin/htpasswd2";
$svn_cmd = "/srv/www/vhosts/mydomain/bin/svn";
$svnadmin_cmd = "/srv/www/vhosts/mydomain/bin/svnadmin";
//Subversion locations
$svn_repos_loc = "/srv/www/vhosts/mydomain/svn/repos";
$svn_passwd_file = "/srv/www/vhosts/mydomain/svn/svn.users";
$svn_access_file = "/srv/www/vhosts/mydomain/svn/svn.authz";
</config>
The path to the password and access files are ok.