Archive for the 'Web Servers' Category

Setting up an Email Server

A short, useful article about setting a machine up as a mail server - this proved useful when I was setting up a machine for a demo recently. I must confess, I’ve never set up a mail server before, but it was quite simple, apart from the problems I had with finding the right Windows Server installation disc.

Spence Harbar’s App Pool Recycling tool

Note to self: I keep needing/using this tool to avoid IISRESETs during SharePoint development. Much faster…

Creating Test Certificates with MakeCert

I was having a bugger of a time setting up an SSL connection using a test certificate until I found this article by John Howard. One thing I would say - when using MMC to look for newly created certificates, remember to ‘refresh’ the view. Otherwise this works - shame I don’t entirely understand how… … still, at least my error “The server mode ssl must use a certificate with the associated private key” is now gone…

Ruby on Rails on Apache

I just got Rails working on Apache, which is pretty cool, and fairly straight forward really. My big complaint about the whole process is, though, that the tip below was necessary to make apache stop just returning errors…

Note from porter.ea:

One additional edit that I found necessary was to add “#!c:/pathto/rubybin/rubyw” (note the “w”) at the top of the “C:\appname\public\dispatch.fcgi” file.

It’s worth noting the bit about (for performance):
FastCgiConfig -maxClassProcesses 1 -maxProcesses 1 -minProcesses 1 -processSlack 1

Apache Configuration

Getting started with Apache - Article worth reading. Part II Part III

More on Realm Authentication with Tomcat

Okay, so I had a play with Realm Authentication…
Read more »

Clever Cats

Okay, so Tomcat 5 has some neat tricks I didn’t know about! Using the Web.xml file, you can declare a database to check for username/password/role, and provide access to resources as defined elsewhere in the web.xml file.

Only of interest to geeks, but quite clever really. You can even specify the MessageDigest algorithm used to hash a password. Will have a play and see how well it works…