Entries Tagged 'Apache' ↓

Change Your Personal Web Sharing Directory in OS X

Want to change the “Personal Web Sharing” directory in OS X? It’s the folder (directory) where you are intended by Apple to put sites for viewing in Safari. You can alter this by editing one simple file. Continue reading →

A Pretty Good Write Up on Why /usr/local ?

Over at Hivelogic, home of many good things OS X and Ruby and command line, you’ll find this excellent write up on why everything UNIXy and binaryish you download and install should go in /usr/local or /usr/local/bin

Software Update… what Apple should be doing

Lately I feel like a complainer, but I assure you, this is not about complaining. This is about reality. Apple should update the whole stack of software periodically. I’m not just talking about the iApps and their Pro apps and the core OS X. I’m talking about the other software that ships with OS X. Continue reading →

PHP5 on OS X 10.4.x Tiger: Mime Types

If you want to learn or test your PHP5 stuff on OS X Tiger, you need to get Marc Liyanage’s Entropy installation. It simplifies installation things a lot, even Apple themselves recommend developers use this because installing it manually is a royal pain in the butt. Download and installation are easy as anything else on the Mac. Marc Liyanage deserves an award, man! But you may want to configure a few things after you install it… Continue reading →

.htaccess >> protecting your ASSets

Web sites, and computery jiggery-poke in general can be a pain in the overly-complicated seat cushion. Everyone knows that. But ostensibly one of the easiest things to work with as a whole is the amazing Apache web server that runs most of the internet. That is the original poster-child for Open Source and Free As In Beer software. (not to mention secure and stable and well-written)

But what you maybe did not know is, it’s also a pleasure to work with and fairly easy to learn about and twiddle with.

OK, so you’re not a server administrator, but maybe you do run a web site and have hosting. If you have a good host like mine, DreamHost, then you can do all sorts of cool UNIXy things with your own domain (web site). And one of the coolest and most useful things you can do is futz with a nifty file that Apache Web Server likes to read and obey, called .htaccess of all things.

.htaccess is the the place to go to protect directories (folders) in your web site while still making the intended content available the intended way (as a web site, in a web browser). It also allows you control over the infamous error pages, like this one.

Pretty cool stuff, huh?! Want to learn more? Well, I’m not going to re-invent the wheel, nor am I going to rewrite a classic novel just for shits and grins, so…
Click this link to see a cool article on .htaccess