Skip to content

Instantly share code, notes, and snippets.

<VirtualHost *:80>
ServerAdmin serveradmin@misp.local
ServerName myservernameformydomain
# In theory not needed, left for debug purposes
# LogLevel warn
# ErrorLog /var/log/apache2/misp.local_p80_error.log
# CustomLog /var/log/apache2/misp.local_p80_access.log combined
Header always unset "X-Powered-By"
'ApacheSecureAuth' =>
array (
'apacheEnv' => 'PHP_AUTH_USER',
'ldapServer' => 'ldap://yourdomain',
'ldapProtocol' => 3,
'ldapReaderUser' => 'CN=ldapuseriwthreaderrights,OU=your_OU(s if several),DC=domain1,DC=domain2',
'ldapReaderPassword' => 'reader password',
'ldapDN' => 'DC=domainpart1,DC=domainpart2',
'ldapSearchAttribut' => 'sAMAccountName',

Keybase proof

I hereby claim:

  • I am runebergh on github.
  • I am runebergh (https://keybase.io/runebergh) on keybase.
  • I have a public key ASCPlS7avFGntyar246bOixIKcK1j9K_h8_VUDYU_U1Sego

To claim this, I am signing this object: