multiple reverse proxy host broken

Nathan Bridgewater explained how to configure multiple reverse proxies properly with apache and IIS (without losing original domain name). I’m reposting this for myself to keep a record of this fine work.

multiple reverse proxy host broken iis serving up local server name instead of the ServerName that was originally passed to it. How to . . . → Read More: multiple reverse proxy host broken

copy teamsite user

To copy teamsite user permissions i’ve written a python script.

You’ll need to replace the path with the path of your teamsite’s bin directory:

#!/usr/bin/python #Script Name: #Use: ./ -s (source_user) -d (destination_user) #Note: the bin bath of teamsite was hardcoded, please replace /opt/iw-home/TeamSite/bin # path of your teamsite’s bin directory #Author: Steve Stonebraker . . . → Read More: copy teamsite user

Secure Apache ServerTokes and ServerSignature directives

There are two config directives that controls Apache version. The ServerSignature directive adds a line containing the Apache HTTP Server server version and the ServerName to any server-generated documents, such as error messages sent back to clients. ServerSignature is set to on by default. The ServerTokens directive controls whether Server response header field which is . . . → Read More: Secure Apache ServerTokes and ServerSignature directives

ssh port forwarding example


A ssh port forwarding example would be to map a remote host’s 3306 port to your local machines 3306 port over ssh.

Remote Host: Your Host: localhost

To port forward a mysql connection on a remote host to your local host you would run:

ssh -L 3306:localhost:3306 [email protected]

Once this is mapped you can . . . → Read More: ssh port forwarding example

current apache connections

how to check current apache connections

Since apache will spawn a new process for each new connection you need to determine how many httpd processes are currently running

I would recommend checking the count from this command against the MaxClients setting in apache’s httpd.conf:

ps aux | grep -c httpd

To show the number of . . . → Read More: current apache connections

setup x11 behind firewall

How do we setup x11 behind firewall ?

In this case we will use a Rackspace Cloud server with Red Hat Linux and a windows box behind a corporate firewall. I have slightly modified the Rackspace guide below (you will see what I’ve crossed out in red and added the correct line in blue)

Install . . . → Read More: setup x11 behind firewall

Tomcat SSL Configuration

Create Keystore file and add. pfx file

1. Create .keystore file using following command – %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA Default Location – C:\Documents and Settings\ 2. Add .pfx file ( Using – Portecle Tool) There are two ways to add .pfx file a. Using Tool called – “Portecle” (or any other tool you . . . → Read More: Tomcat SSL Configuration

Calculate Bandwidth with Frequency

How to calculate bandwidth with freqency?

Equation: f * λ = c

where: f = frequency in Hertz (Hz = 1/sec) λ = wavelength in meters (m) c = the speed of light (approximately equal to 3*108 m/s)

Bandwidth = c\λ

nm = 10-9 m

subtract the difference between the bandwidth for the . . . → Read More: Calculate Bandwidth with Frequency

IPSEC Packets vs Regular packets, the hard facts

Based on this wikipedia article

I have deduced the difference between a regular datagram and an IPsec Datagram (when using transport mode with maximum encryption).

Here are the hard fact:

A true duck story from San Antonio

(I received an email correspondance of this story and it was too good to stay as “chain mail”, I am not the author of it, i’m just sharing it for everyone)


Something really cute happened in downtown San Antonio this week. Michael R. is an accounting clerk at Frost Bank and works there in . . . → Read More: A true duck story from San Antonio