Topics

Archives

Handy References

Web Hosting Tools

Squid handling http –> https redirects

Friday, May 29th, 2009

In configuring Squid to handle both our port 80 and 443 traffic, we have the issue that we can use redirects at the webserver level to redirect certain pages to https:// . So this is handled in Squid. First, make a simple script.  There’s a possibility another redirector like Squirm might do a better job, [...]

Lighttpd, virtual hosts, alternative ports

Friday, May 29th, 2009

In the configuration of our new server, all ports 80 and 443 traffic is handled by Squid as a reverse proxy.  8080 is the “backdoor” that bypasses Squid and hits Lighttpd directly. But the standard format of a Lighttpd virtual host entry doesn’t recognize alternate ports appended after the tld.  Not a big deal, this [...]

Lighttpd, virtual hosts, and wildcard domains

Friday, May 29th, 2009

So we’re setting up mirocommunity.com, and I don’t want to be hassled continously to create new hostnames in DNS. To avoid that, it’s a simple wildcard entry like this in the appropriate named database: *.mirocommunity.com.    IN      CNAME   mirocommunity.com. Which directs everything to our server. Now our server hosts multiple sites via host entries, so we [...]

Installing Squid to handle both 80 and 443

Tuesday, May 26th, 2009

This outlines configuring Squid, running two instances, to handle both port 80 and 443 traffic on an Amazon EC2 instance running Ubuntu Jaunty.  We can bypass Squid by going directly to Lighttpd on port 8080. To answer a couple questions off the top, you should also read my post on how to configure http –> [...]

Optimizing Website integration with Amazon’s S3 Service

Saturday, February 28th, 2009

At Participatory Culture Foundation we use Amazon’s S3 Service to host our static content — css, js, and images. This accomplishes two things — it improves the performance for our visitors since Amazon has faster performance and reliability then we can afford on our own servers, and it does so at a lower cost. In [...]

Creating & Debugging SSL Certificates

Wednesday, October 3rd, 2007

Generating a public SSL certificate: Information Needed: Country Name (2 letter code) [AU]: State or Province Name (full name) [Some-State]: Locality Name (e.g., city) [ ]: Organization Name (e.g., company) [Internet Widgets Pty Ltd]: Organizational Unit Name (e.g., section) [ ]: Common Name (e.g., YOUR name) [ ]: (See my email…) Email Address [ ]: Generate [...]

Sun Java 5 & Fedora Core 6

Tuesday, October 2nd, 2007

Installation of Sun Java 5 on FC6 Download the rpm.bin from Sun.  When you run it, it will install the RPM too.  http://www.java.com/en/download/manual.jsp Now, update the java and javac called by default, via update-alternatives: The “1500″ is the priority.  Higher number = precedence (on the machine I was installling on, the existing java was priority [...]