Disable SSL ciphers below 128-bit in IBM Apache

For Allowing 128 bit browsers access, while denying lower strength browsers (40 bit, 56 bit) from connecting to the Web server over SSL, we need to use SSLCipherSpec directives within the SSL VirtualHost stanza located in the httpd.conf file.

Virtual hosting in Apache

There are 2 types of VirtualHosting:1. Name Based Virtual Hosting2. IP Based Virtual Hosting 1. Name Based Virtual Hosting:In this we host multiple websites on Single IP.Here is the basic configuration for name based virtual hosting in httpd.conf: ======================== NameVirtualHost  ganesh.com <———– <VirtualHost ganesh.com>    ServerAdmin webmaster@ganesh.com    DocumentRoot /var/www/html    ServerName ganesh.com    ServerAlias www.ganesh.com    ErrorLog logs/ganesh.com-error_log    CustomLog…

Configuring Apache with Authentication

Basic Authentication: 1. Create user database with htpasswdhtpasswd is a program which create user database. In this example we will create users in /etc/apache2/users     $ htpasswd -c /etc/apache2/users test  ===========> Here test is username 2. Server side configuration: Here in httpd.conf or your virtual host configuration file between <Directory … >  </Directory> Give following…

Compiling Apache, mysql and PHP

Compiling Apache for fully dynamic web server 1. Download Apache sourcecode from http://apache.org 2. Extract it and enter into the extracted directory 3. ./configure –prefix=/usr/local/apache2 –enable-mods-shared=all make ; make install 4. Dowload PHP from php.net. Then extract it and enter the extracted directory 5. ./configure –with-apxs2=/usr/local/apache2/bin/apxs –with-mysql –prefix=/usr/local/apache2/php –with-config-file-path=/usr/local/apache2/php –enable-force-cgi-redirect –with-zlib –with-gettext –with-gdbm –enable-mbstring=all make…