November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

mod_mpmstats – IBM HTTP SERVER

mod_mpmstats

mod_mpmstats provides three capabilities:

check if the web server is at or near the maximum concurrent clients setting (MaxClients for Unix and Linux; ThreadsPerChild for Windows) optionally report the IHS worker thread usage at a specified interval optionally report the plug-in module where requests are currently stalled

Often this type of monitoring has been […]

Redhat init Script for apache

#!/bin/sh # # Startup script for the Apache Web Server # # chkconfig: – 85 15 # description: Apache is a World Wide Web server. It is used to serve \ # HTML files and CGI. # processname: httpd # pidfile: /var/run/httpd.pid # config: /etc/httpd/conf/access.conf # config: /etc/httpd/conf/httpd.conf # config: /etc/httpd/conf/srm.conf ulimit -HSn 32768 # […]

Apache webserver

Versions

The default with Centos/Redhat is 2.2.x (CentOS like the Red Hat OS it derives from, are geared towards stability and so tend to lag behind what’s cutting edge)

2.4 is available and offers improved performance 2.4 moves away from Prefork MPM and moves to “event” mpm which uses a lot less memory

new features […]

Install vfabric-web-server & TcServer

mkdir tcserver cd tcserver/ wget -q -O – http://repo.vmware.com/pub/rhel6/vfabric/5.2/vfabric-5.2-suite-installer | sh

yum search vfabric

[root@cluster1 vfabric-web-server]# yum search vfabric Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: centos.ipserverone.com * extras: centos.ipserverone.com * updates: centos.ipserverone.com ========================================================= N/S Matched: vfabric ========================================================= vfabric-5.2-repo.noarch : vFabric 5.2 repository configuration vfabric-administration-server.noarch : VMware vFabric Administration […]

Add HTTP Strict Transport Security in Apache & Nginx

HSTS (HTTP Strict Transport Security) is a security protocol that force the use of SSL in the comunication between the web browser and the web server. This standard is recently approved (2 october 2012) by the IETF, but the first draft was released in 2010 and it was implemented in some sites like Paypal, Android […]

Restrict unused HTTP methods and Verbose HTTP headers

Restricting unused HTTP methods

The HTTP method is supplied in the request line and specifies the operation that the client has requested. Browsers will generally just use two methods to access and interact with web sites; GET for queries that can be safely repeated and POST for operations that may have side effects. This means, […]

Apache Log Counting using Awk and Sed

Since I (and you as a visitor) don’t want your IP-address to be spread around the internet, I’ve anonymized the log data. It’s a fairly easy process that is done in 2 steps: IP’s are translated into random values. Admin url’s are removed. Step 1: Translating IP’s

All the IP’s are translated into random IP’s, […]

Enable One way and two SSL on Apache

Secure sockets layer communication

The industry-standard Secure Sockets Layer (SSL) protocol, which uses signed digital certificates from a certificate authority (CA) for authentication, is used to secure communication in a Tivoli Identity Manager Express deployment.

SSL provides encryption of the data that is exchanged between the applications. Encryption makes data that is transmitted over the […]

How to fix mod_ssl CRIME CVE-2012-4929 SSL/TLS CRIME

How can we mitigate CVE-2012-4929 SSL/TLS CRIME attack against HTTPS in Red Hat Enterprise Linux 5 or 6 httpd refuses to start when SSLCompression on is used in /etc/httpd/conf.d/ssl.conf How can we mitigate CVE-2012-4929 SSL/TLS CRIME attack against HTTPS in Red Hat Enterprise Linux 5 or 6 on httpd and mod_ssl?

will focus only on […]

Tuning the Apache Prefork MPM

Apache uses a set of values called the Prefork MPM to determine how many servers it will utilize and how many threads each server can process. Out of the box all Apache installations use the same values regardless of whether your server has 512Mb of RAM or 8Gb of RAM. It is important that as […]