domenica, Aprile 18, 2021

How-to – Apache set the debug mode LogLevel

To solve some issues (POST and GET troubles), try to set the LogLevel in debug mode. Open /etc/apache2/apache2.conf file (for Debian installation) and modify the following line: # # LogLevel: Control the number of messages...

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...

How To Tune Apache – mpm prefork

Recognize that Ubuntu 14.04 uses Apache 2 with PHP running through an mpm_prefork module (Debian 8 use mpm_event), of which an editable file is in /etc/apache2/mods-enabled/mpm_prefork.conf. Also, recognize that starting...

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:...

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...

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...

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...

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...

How to Tuning Your Apache Server

Tools There are a variety of tools that can assist in determining if you need to alter resource settings, including the top command and the load-testing program Siege. Linode’s own Longview service...

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...