Archive for June, 2007

Ruby on Rails + SSL + ISPConfig + Apache 2.0 + Mongrel

Posted on June 13th, 2007 in Ruby on Rails, Sys Admin, Ubuntu | No Comments »

If you are using ISPConfig to manage the virtual hosts on your web server, you will notice that there is no way to separate SSL vs non-SSL Apache directives using the standard web interface. This is a problem if you are writing Ruby on Rails applications and proxying requests through Apache to a Mongrel cluster because Mongrel won’t know what type of requests it is receiving. Being behind the proxy, Mongrel doesn’t know if the original requests are coming via HTTP or HTTPS. The solution is to add RequestHeader set X_FORWARDED_PROTO ‘https’ as a line in your Apache virtual host configuration for the SSL virtual host. I will tell you how to get ISPConfig to handle that for you. I will also show how to get GoDaddy.com ssl certificates working and how our Apache 2.0 randomized proxy balancer works.

Read the rest of this entry »

FTP Login Delay With Proftpd – Ubuntu Perfect Setup

Posted on June 11th, 2007 in Sys Admin, Ubuntu | 2 Comments »

I manage serveral servers and – for the most part – they are all set up using the Perfect Setup for Ubuntu. Overall the setup is great, but I have been noticing a very annoying delay when trying to log in via FTP. Everything works, but when I initially connect, 5 – 10 seconds pass by before I’m prompted for my login credentials. After many hours of pain and sadness, I finally discovered the solution.

Read the rest of this entry »

How To Delete Saved Form Data In Firefox – One Value At A Time

Posted on June 1st, 2007 in Everyday Tips, Web Development | 10 Comments »

As we all know, Firefox will save the values you type in a form. Then, Firefox will provide a drop down list of previously entered values for form fields that you have completed and submitted in the past. Today, I mistyped my username in a form causing Firefox to store an incorrect value in my form history. So every time I go to enter my username, the wrong username shows up in my drop down list. After much searching, I have finally discovered how to delete individual values from the saved form history in firefox. No extension or anything is required.

Read the rest of this entry »

Get Adobe Flash playerPlugin by wpburn.com wordpress themes