logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: HTTPD 2.4 SVN issue
Author
sapper70



Joined: 01 Dec 2016
Posts: 2
Location: USA, Olathe

PostPosted: Thu 01 Dec '16 22:45    Post subject: HTTPD 2.4 SVN issue Reply with quote

Hi - I am by no means an apache expert but I have been tasked to decommission an old ubuntu apache/svn server to CentOS httpd2.4. I have been fighting authentication issues. I was able to get authentication working but after authenticating I got an internal server error. Now I have it where I can hit the repo but it doesn't authenticate. No matter what I try I seeing the following in the logs:

[Fri Nov 11 10:55:19.707543 2016] [access_compat:error] AH01797: client denied by server configuration: svn:/data/svn/IT_Support

My subversion.conf looks like this:

Alias /svn /data/svn

<Location /IT_Support>
DAV svn
SVNPath /data/svn/IT_Support
SVNAdvertiseV2Protocol Off
AuthType Basic
AuthBasicProvider ldap
AuthName "IT Support repository"
AuthLDAPURL ldaps://jbossldap.ad.company.com:636/DC=ad,DC=company,DC=com?sAMAccountName?sub
AuthLDAPBindDN ldapuser@ad.company.com
AuthLDAPBindPassword readonly
Require ldap-user XXXXXX
Require ldap-user XXXXXX
#allow from localhost
Order allow,deny
#Require all granted
satisfy any
</Location>

# one more time for wsvn
<Location /wsvn/IT_Support>
#DAV svn
SVNPath /data/svn/IT_Support
AuthType Basic
AuthBasicProvider ldap
AuthName "IT Support repository"
AuthLDAPURL ldaps://jbossldap.ad.company.com:636/DC=ad,DC=company,DC=com?sAMAccountName?sub
AuthLDAPBindDN ldapuser@ad.company.com
AuthLDAPBindPassword readonly
<LimitExcept GET PROPFIND OPTIONS REPORT>
require ldap-user XXXXXX
require ldap-user XXXXXX
#Require all granted
Order allow,deny
satisfy any
</LimitExcept>
</Location>


Any help would be greatly appreciated!
Back to top
sapper70



Joined: 01 Dec 2016
Posts: 2
Location: USA, Olathe

PostPosted: Thu 01 Dec '16 23:23    Post subject: I also see this in the logs Reply with quote

Not sure if this could be the issue, but I also see this after restarting apache:

[Thu Dec 01 13:34:30.954310 2016] [autoindex:error] [pid 17369] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php,index.php) found, and server-generated directory index forbidden by Options directive
[Thu Dec 01 13:34:38.077810 2016] [autoindex:error] [pid 17366] AH01276: Cannot serve directory /data/svn/: No matching DirectoryIndex (index.html,index.php,index.php) found, and server-generated directory index forbidden by Options directive

Contents of these directories are:
/var/www/html/:
lrwxrwxrwx 1 root root 17 Oct 25 13:28 websvn -> /usr/share/websvn
lrwxrwxrwx 1 root root 17 Oct 25 13:28 wsvn-data -> /usr/share/websvn
lrwxrwxrwx 1 root root 26 Oct 25 13:29 wsvn.php -> /usr/share/websvn/wsvn.php

/data/svn/:
drwxr-xr-x 7 apache apache 73 Oct 24 14:27 inet
drwxrwxrwx 7 apache apache 90 Oct 24 13:35 IT_Support
drwxr-xr-x 6 apache apache 80 Oct 24 13:25 testrepo
Back to top


Reply to topic   Topic: HTTPD 2.4 SVN issue View previous topic :: View next topic
Post new topic   Forum Index -> Apache