Totally Nerdy Information

Mike Heath's Blog

Accessing PATH_INFO

If you want to get the path information appended to your script URL, you can use the PATH_INFO CGI variable. Consider the following CGI script: #!/bin/bash echo “Content-Type: text/plain” echo echo $PATH_INFO all this script does it output the PATH_INFO. This script is available at http://swamp.homelinux.net/cgi-bin/pathinfo. If you click on the link, you will see [...]

CS 462 Lab 1 Review

I didn’t have any significant difficulties with Lab 1.  For the most part I thought it was fairly trivial.  No offense to those who struggled.  I’ve been building web applications professionally for years and I’ve been using Linux as my desktop OS exclusively for almost 5 years.  The lab was still beneficial though and I [...]

To automatically register with the load balancer when my EC2 node starts up, I placed the following script in /etc/init.d/registerlb: #!/bin/bash # # registerlb Startup script for registering and deregistering with the load balancer # # chkconfig: – 90 10 # description: Script for registring and deregistering with load balancer LB_REGISTER_URL=http://wslb-p.webappwishlist.com:8080/pound/subscribe LB_UNREGISTER_URL=http://wslb-p.webappwishlist.com:8080/pound/unsubscribe LB_STATUS_URL=http://wslb.webappwishlist.com:8080/pound/list PRIVATE_IP=`ip -4 [...]

Configuring OpenSSH for EC2

If you’re using OpenSSH to access EC2, you can tell ssh to use your ec2 public key instead of specifying the public key with the -i option when you connect to one of your ec2 instances. To do this, create or modify your ~/.ssh/config file and add: host *.amazonaws.com IdentityFile PATH_TO_YOUR_AMAZON_EC2_KEY_PAIR Unlike Putty, you don’t [...]

CS 462 – Distributed Computing

I’m supposed to regularly blog for my CS 462 class at BYU.  In all honesty, I signed up for the class because it looked easy and I wanted an easy class so that I would have more time to work on my thesis.  The FAQ for the class states that it’s a hard class and [...]

  

Calendar

September 2007
M T W T F S S
« Apr   Oct »
 12
3456789
10111213141516
17181920212223
24252627282930