Simon Bruder
2e28abe900
All checks were successful
continuous-integration/drone/push Build is passing
53 lines
1.5 KiB
ApacheConf
53 lines
1.5 KiB
ApacheConf
ServerRoot "/usr/local/apache2"
|
|
ServerName "localhost"
|
|
Listen 80
|
|
|
|
LoadModule mpm_event_module modules/mod_mpm_event.so
|
|
|
|
LoadModule auth_basic_module modules/mod_auth_basic.so
|
|
LoadModule authn_core_module modules/mod_authn_core.so
|
|
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
|
|
LoadModule authz_core_module modules/mod_authz_core.so
|
|
LoadModule authz_user_module modules/mod_authz_user.so
|
|
LoadModule ldap_module modules/mod_ldap.so
|
|
|
|
LoadModule mime_module modules/mod_mime.so
|
|
LoadModule unixd_module modules/mod_unixd.so
|
|
LoadModule autoindex_module modules/mod_autoindex.so
|
|
LoadModule alias_module modules/mod_alias.so
|
|
|
|
User daemon
|
|
Group daemon
|
|
|
|
DocumentRoot "/srv/www"
|
|
<Directory "/srv/www">
|
|
Options Indexes FollowSymLinks
|
|
IndexOptions FancyIndexing
|
|
IndexOptions HTMLTable
|
|
IndexOptions SuppressColumnsorting
|
|
IndexOptions SuppressLastModified
|
|
IndexOptions SuppressDescription
|
|
IndexOptions SuppressHTMLPreamble
|
|
IndexOptions SuppressIcon
|
|
IndexOptions Charset=UTF-8
|
|
IndexStyleSheet "/directory-listing-assets/listing.css"
|
|
IndexHeadInsert "<script src=\"/directory-listing-assets/listing.js\"></script>"
|
|
|
|
AuthName "files"
|
|
AuthBasicProvider ldap
|
|
AuthType Basic
|
|
|
|
AuthLDAPURL "ldap://@@LDAP_SERVER@@/@@LDAP_BASE@@" "STARTTLS"
|
|
AuthLDAPBindDN "@@LDAP_USER@@"
|
|
AuthLDAPBindPassword "@@LDAP_PASSWORD@@"
|
|
|
|
Require valid-user
|
|
</Directory>
|
|
|
|
Alias "/directory-listing-assets" "/usr/local/apache2/conf/assets"
|
|
|
|
ErrorLog /proc/self/fd/2
|
|
LogLevel warn
|
|
|
|
TypesConfig conf/mime.types
|