Hi zusammen.
Ich versuche Gitweb über Apache zum laufen zu bringen. Das hat auch alles einwandfrei funktioniert, bis ich die LDAP Authentifizeirung implementieren wollte. Hier kommt dann immer die Fehlermeldung 500 "Internal Server Error"
"The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at root[at]localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
"
Ich nutze CentOS 8 und die SSL Zertifikate sind self-signed.
Hier noch meine gitweb.conf welche unter /etc/httpd/conf.d/ liegt.
Alias /git /var/www/git
<Directory /var/www/git>
Options +ExecCGI
AddHandler cgi-script .cgi
DirectoryIndex gitweb.cgi
#SSLRequireSSL
AuthType Basic
AuthName "LDAP Authentication"
AuthBasicProvider ldap
AuthLDAPURL ldaps://ldapstring
AuthLDAPBindDN login
AuthLDAPBindPassword password
AuthLDAPMaxSubGroupDepth 100
Require valid-user
</Directory>
Und meine redirect.conf um HTTP auf HTTPS umzuleiten
<VirtualHost _default_:80>
Servername gitweb002
Redirect permanent /
domain.com
</VirtualHost>
<LocationMatch "^/+$">
Redirect permanent /
domain.com/git
ErrorDocument 403 /.noindex.html
</LocationMatch>
In den Error Logs von Apache ist leider auch nichts zu finden.
Hat hier jemand eine Idee?