Archive for the Apache category:

General tips and tricks regarding the world’s most reliable web server.

Combo Pack: CakePHP and Leopard Virtual Hosts

Posted April 4th @ 3:52 pm  |  Filed in: Apache, OS X, PHP

A bit about CakePHP, but more about getting several virtual hosts/domains up and running on Leopard. For example, you can setup www.testsite1.dev and www.testsite2.dev with full PHP/MySQL database-driven goodness.

Forcing a Download with Apache and .htaccess

Posted February 21st @ 10:34 am  |  Filed in: Apache

Sometime you don’t want to give your site visitors the option to open a file in their web browser. This could be a Microsoft Office document, or even a giant jpg or png image. When you want to force download a certain file type, simple add something like this to an .htaccess file in the [...]

Moving Data Out of Movable Type

Posted February 5th @ 10:55 am  |  Filed in: Apache

ChronicBabe.com started off as a smallish blog, and was powered by Movable Type. But as the site grew, features were added, and we soon started to feel a bit limited by good ol’ MT, even with it’s extensive range of plug-ins. I had been working on my own content management system, and ChronicBabe.com founder Jenni [...]

Moving to a New Domain? Use Apache to Redirct the Old to the New

Posted January 29th @ 12:34 pm  |  Filed in: Apache

So you have to move your site to a new domain - it happens. One of my clients just had to go through this because of a legal issue. But never fear - there’s no need to break your existing search engine results, or websites that have linked to your old domain, or folks that [...]

Force/Strip the “www.” On or Off Your Domain (Apache)

Posted January 29th @ 10:47 am  |  Filed in: Apache

One of the first things I do after launching a new site is make sure every page is unique as far as the URL is concerned. By this I mean that IMHO you should not be able to view this page:
http://some-site.com/articles/12
As well as this page:
http://www.some-site.com/articles/12
One should forward to the other, or vice-versa.
How come?
Once-upon-a-time, allowing this [...]

Options:

Size

Colors