giovedì, Gennaio 28, 2021

How-to – Apache & LDAP

 Here's an example of a typical LDAP user record in LDAP Data Interchange Format (LDIF): dn: uid=keithw,ou=People,dc=company,dc=com uid: keithw cn: Keith Winston objectClass: account objectClass: posixAccount objectClass: top objectClass: shadowAccount userPassword: {crypt}$1$M/PZEwdp$KHjSay8JILX01YAHxjfc91 shadowLastChange: 13402 shadowMax: 99999 shadowWarning: 7 loginShell: /bin/bash uidNumber: 2741 gidNumber: 420 homeDirectory: /home/keithw gecos:...

How-to – Single sign on with Active directory and Apache

Scenario Example Domain:  contoso.lan Web Server: web.contoso.lan Active Directory Server: ad.contoso.lan DNS Server: ad.contoso.lan Introduction Right, so I wanted to do single sign-on on an Apache Linux server running in our otherwise Windowized environment....

How-to – Rewrite Rules

Rewrite rules (RewriteRule) Case 1: A web page has been moved permanently Case 2: A group of web pages have been moved permanently Case 3: Pretty URLs (to convert URL Get parameters into directories) Case 4: Ignore a directory Case...

Apache2 – Authentication using MySQL backend

This tutorial will explain how to use a MySQL backend in order to authentication users against your Apache website. To achieve this we will use Apache2 and its auth_mysql module. Here, we...

Apache – Il connettore mod_jk

Il connettore mod_jk funge da collante tra il server HTTP Apache e un Java application server come Tomcat o JBoss. Mentre la maggior parte degli amministratori si concentrano sull’ottimizzazione di Apache...

How to create a self-signed SSL Certificate (testing use)

Overview The following is an extremely simplified view of how SSL is implemented and what part the certificate plays in the entire process. Step 1: Generate a Private Key The openssl toolkit is used...

Apache – Load Balancing

Mi è capitato di dover bilanciare con un reverse proxy Apache 2.2 alcuni server fisici, prevalentemente Sharepoint. Subito ho pensato al modulo mod_proxy_balancer di Apache 2.2 ed alla sua capacità di gestire in...

How to enable TLS v1.2 in Apache2

To add TLS1.2 you just need to add in your https virtual host configuration: SSLProtocol -all +TLSv1.2 -all is removing other ssl protocol (SSL 1,2,3 TLS1) +TLSv1.2 is adding TLS 1.2 for more browser compatibility...