Jennifer Zelazny

Random and Opinionated Thoughts

Category: HOWTOs

Step by step guides to help with technical issues that I have worked on over the years.

HOWTOs Standards

access your home computers from anywhere

Posted by: Jennifer Zelazny | 1 Comment

There comes a time when you are at work, travelling, or somewhere where you “really wish you could access your home computer(s).” Some people are fortunate enough to have static ips so they can simply access their computer by using their static IP. For most of us, we have to deal with dynamic IPs. For years now I have been using a great service (DynDNS.org). With dynDNS, you can set up a domain name that will point to your computer, and will update when your IP changes, so you will always be able to connect to your home computers. Sound... Read More » Read more

Apple Hints HOWTOs UNIX

configuring ipfw on mac os x 10.3.

Posted by: Jennifer Zelazny | 0 Comments

Sometimes the GUI is awesome. Sometimes you just need more control over your conf files that the GUI offers. I wanted to have more specific firewall rules for my computers and servers running Mac OS X Client, more than the default OS X 10.3 built-in firewall configuration that is provided. First, let’s look at all the files involved with Apple’s default firewall. System Preferences: Sharing: Firewall tab.If you want the security of a basic firewall, you can simply “start” the firewall. Using this option, Mac OS X will look at what services you have enabled (ex. Personal File Sharing, FTP,... Read More » Read more

Hints HOWTOs Web Development

encoding email addresses.

Posted by: Jennifer Zelazny | 0 Comments

Spam. We are all sick of it. Contact information…if you have a web site it is most likely you will need to post your contact information (email address) somewhere. To stop robots from spidering your email address, I would suggest encoding it. Yeah, if you notice my email address is not always encoded on my personal sites, but all email address on any non password protected page on my professional sites are always encoded, using the Email Address Enocder on a web site I found years back. So if you are tired of spam and you want to do something... Read More » Read more

HOWTOs UNIX Web Development

rsync: synch both boot and data volumes.

Posted by: Jennifer Zelazny | 1 Comment

If you have mission critical servers, you know that a backup is essential. I do not want my mission critical web server to go down. Along comes rsync. How to set up rsync to synch my boot drive (and make it bootable) as well as synch my data files (html/php files): First, you will to set up passwordless ssh between your servers. This is a good tutorial, except make sure step #5 is actually: /var/root/.ssh/cat id_rsa.pub >> authorized_keys2 . Now you are ready to send data from your main server to the backup(s). Data I have a daily cron job... Read More » Read more

Apache Apple HOWTOs UNIX Web Development

redirecting domain.com to www.domain.com.

Posted by: Jennifer Zelazny | 0 Comments

So you have a web server and one/some domain names. You want to have all requests to domain.com to go to www.domain.com. most companies have this redirect in place (Apple is an example). I was stumped when I first set out to do this…so here is what I learned from our friends on the Apache mailing list. ServerName www.domain.com ServerAlias domain.com Redirect permanent / http://www.domain.com/ ServerName www.domain.com ServerAdmin [email protected] DocumentRoot /Volumes/www/domain.com/documents This set up in Apache will then redirect all domain.com requests to www.domain.com. You cannot beat mailing lists’ support! [tags]apache, vhosts, redirect[/tags] Read more

Apache Hints HOWTOs UNIX Web Development

serving apache on a local (not 127.0.0.1 address).

Posted by: Jennifer Zelazny | 0 Comments

If you ever need to serve a web site for, let’s say a presentation, on a local address and need to connect to another computer…perhaps your database/ Web Objects server locally as well, and you are running Mac OS X…then I have some information for you. If you want to serve the web site on 10.0.0.2 and have your other server on 10.0.0.3, open the terminal and type in: sudo ifconfig en0 10.0.0.2. This will change the IP address. (changing the IP address in the network control panel was not enough) Next, edit the apache conf file: sudo pico /etc/httpd/httpd.conf... Read More » Read more