<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/"
> <channel><title>jappler.com &#187; Mac-OS-X</title> <atom:link href="http://jappler.com/blog/archive/tag/mac-os-x/feed" rel="self" type="application/rss+xml" /><link>http://jappler.com</link> <description>random and opinionated thoughts by Jennifer Zelazny</description> <lastBuildDate>Fri, 10 Feb 2012 15:25:47 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator><itunes:summary>random and opinionated thoughts by Jennifer Zelazny</itunes:summary> <itunes:author>jappler.com</itunes:author> <itunes:explicit>no</itunes:explicit> <itunes:image href="http://jappler.com/wp-content/plugins/powerpress/itunes_default.jpg" /> <itunes:subtitle>random and opinionated thoughts by Jennifer Zelazny</itunes:subtitle> <image><title>jappler.com &#187; Mac-OS-X</title> <url>http://jappler.com/wp-content/plugins/powerpress/rss_default.jpg</url><link>http://jappler.com</link> </image> <item><title>Growl 1.1.3 beta 4 + Mac OS X 10.5.3 = Nightmare</title><link>http://jappler.com/blog/archive/2008/06/04/growl-113-beta-4-mac-os-x-1053-nightmare</link> <comments>http://jappler.com/blog/archive/2008/06/04/growl-113-beta-4-mac-os-x-1053-nightmare#comments</comments> <pubDate>Wed, 04 Jun 2008 05:47:39 +0000</pubDate> <dc:creator>Jen</dc:creator> <category><![CDATA[Apple]]></category> <category><![CDATA[Serenity Now!]]></category> <category><![CDATA[Gorwl]]></category> <category><![CDATA[Mac-OS-X]]></category> <category><![CDATA[support]]></category> <guid
isPermaLink="false">http://www.jappler.com/?p=864</guid> <description><![CDATA[I use Growl mostly for email notifications because post the Mac OS X 10.5 update IMAP flag support (new mail notification) blows. Unfortunately x2 GrowlMail (the mail notification which I love and rely on) did not work with 10.5 &#8211; so I am forced to rely on having SquirrelMail open so I can see what new mail is where within my many mailboxes. Anyway &#8211; I recently saw there was a new(er) beta available for... <a
href="http://jappler.com/blog/archive/2008/06/04/growl-113-beta-4-mac-os-x-1053-nightmare">Read More &#187;</a>]]></description> <content:encoded><![CDATA[<p>I use <a
href="http://www.growl.info">Growl</a> mostly for email notifications because post the Mac OS X 10.5 update IMAP flag support (new mail notification) blows.  Unfortunately x2 GrowlMail (the mail notification which I love and rely on) did not work with 10.5 &#8211; so I am forced to rely on having <a
href="http://www.squirrelmail.org">SquirrelMail</a> open so I can see what new mail is where within my many mailboxes.  Anyway &#8211; I recently saw there was a new(er) beta available for Growl and all was working as expected until I downloaded Mac OS X 10.5.3.  After that &#8211; I had a lot of weird errors and most notably &#8211; the inability to restart without physically pressing the power button until a forced restart took place.  Finally &#8211; tonight (this morning) I did some research and found that other people were having the same issue and everyone with this same issue all came to the conclusion it was because of some startup item (System Preferences &gt; Users &gt; Login Items). Sure enough &#8211; after disabling Growl on startup, my computer restarted without any issues. Phew.  Tech support is bad &#8211; but worse when it costs you time (and then money because of lost time).</p> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2008/06/04/growl-113-beta-4-mac-os-x-1053-nightmare/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Undeleting Accidentally Deleted Files</title><link>http://jappler.com/blog/archive/2008/06/03/undeleting-accidentally-deleted-files</link> <comments>http://jappler.com/blog/archive/2008/06/03/undeleting-accidentally-deleted-files#comments</comments> <pubDate>Tue, 03 Jun 2008 21:04:41 +0000</pubDate> <dc:creator>Jen</dc:creator> <category><![CDATA[Apple]]></category> <category><![CDATA[Jappler Recommends]]></category> <category><![CDATA[Serenity Now!]]></category> <category><![CDATA[application]]></category> <category><![CDATA[Mac-OS-X]]></category> <category><![CDATA[undelete]]></category> <category><![CDATA[utility]]></category> <guid
isPermaLink="false">http://www.jappler.com/?p=863</guid> <description><![CDATA[It happens to everyone &#8211; and it happened to me last week. I use my MiniStack external 500gig drive for my iTunes music library&#8230;and to make room for a complete backup (using Time Machine) I accidentally deleted all my music. Did I have a backup of all my music? No. I recently cleaned up my backup files and deleted the backup that had all my music files. I have since changed my backups to include... <a
href="http://jappler.com/blog/archive/2008/06/03/undeleting-accidentally-deleted-files">Read More &#187;</a>]]></description> <content:encoded><![CDATA[<p>It happens to everyone &#8211; and it happened to me last week.  I use my <a
href="http://eshop.macsales.com/Static_Pages/index.cfm?page=ministack/ministack1.cfm&amp;ref=GoogleminiStack04062006&amp;title=NewerTech%20miniStack%20FireWire%20and%20USB%20Hub%20and%20Hard%20Drive%20up%20to%20500GB&amp;gclid=CKHu45aW2ZMCFRJPxgodtzGmSw">MiniStack</a> external 500gig drive for my iTunes music library&#8230;and to make room for a complete backup (using <a
href="http://www.apple.com/macosx/features/timemachine.html">Time Machine</a>) I accidentally deleted all my music.  Did I have a backup of all my music? No. I recently cleaned up my backup files and deleted the backup that had all my music files.</p><p>I have since changed my backups to include music on a regular basis but to get back all the lost music &#8211; I used <a
href="http://subrosasoft.com/OSXSoftware/index.php?main_page=product_info&amp;products_id=1">File Salvage</a>.  The process took a long time &#8211; but I expected that when combing through a 500 gig drive.  If you ever need to recover files &#8211; check this application out!</p> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2008/06/03/undeleting-accidentally-deleted-files/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Backup to Amazon S3 With Rsync.</title><link>http://jappler.com/blog/archive/2008/03/13/backup-to-amazon-s3-with-rsync</link> <comments>http://jappler.com/blog/archive/2008/03/13/backup-to-amazon-s3-with-rsync#comments</comments> <pubDate>Thu, 13 Mar 2008 15:56:02 +0000</pubDate> <dc:creator>Jen</dc:creator> <category><![CDATA[HOWTOs]]></category> <category><![CDATA[Serenity Now!]]></category> <category><![CDATA[Amazon S3]]></category> <category><![CDATA[backup]]></category> <category><![CDATA[Jungle Disk]]></category> <category><![CDATA[Mac-OS-X]]></category> <category><![CDATA[rsync]]></category> <guid
isPermaLink="false">http://www.jappler.com/?p=830</guid> <description><![CDATA[Finally &#8211; I stumbled upon an article that outlines how to use rsync, Mac OS X, Jungle Disk, and Amazon S3 (all which I use). This will simplify and speed up my backup process. (Especially when my external backup drive has been acting a little irregular this morning.) If you do not backup your files, or have not looked at Amazon S3 yet &#8211; this is your chance!]]></description> <content:encoded><![CDATA[<p>Finally &#8211; I stumbled upon <a
href="http://hackaddict.blogspot.com/2007/04/how-to-use-jungledisk-amazon-s3-and.html">an article that outlines how to use rsync, Mac OS X, Jungle Disk, and Amazon S3</a> (all which I use).  This will simplify and speed up my backup process. (Especially when my external backup drive has been acting a little irregular this morning.)  If you do not backup your files, or have not looked at Amazon S3 yet &#8211; this is your chance!</p> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2008/03/13/backup-to-amazon-s3-with-rsync/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Mac OS X 10.5 (Leopard) SMB Fix</title><link>http://jappler.com/blog/archive/2007/11/16/mac-os-x-105-leopard-smb-fix</link> <comments>http://jappler.com/blog/archive/2007/11/16/mac-os-x-105-leopard-smb-fix#comments</comments> <pubDate>Fri, 16 Nov 2007 20:00:25 +0000</pubDate> <dc:creator>Jen</dc:creator> <category><![CDATA[Apple]]></category> <category><![CDATA[Hints]]></category> <category><![CDATA[HOWTOs]]></category> <category><![CDATA[UNIX]]></category> <category><![CDATA[fixes]]></category> <category><![CDATA[Mac-OS-X]]></category> <category><![CDATA[Mac-OS-X-10.5]]></category> <category><![CDATA[SMB]]></category> <category><![CDATA[troubleshooting]]></category> <guid
isPermaLink="false">http://www.jappler.com/blog/archive/2007/11/16/mac-os-x-105-leopard-smb-fix</guid> <description><![CDATA[I ran into an issue earlier today where I could not connect to a SMB share after my upgrade to Mac OS X 10.5. After some research, I found a thread in Apple&#8217;s Discussions. Basically&#8230;you need to not use &#8220;Connect to Server&#8230;&#8221; &#8211; you need to mount/unmount the SMB share via the command line. Basic Mount/Unmount Process Create a directory (folder) where you want the mounted share to appear. I created a folder called &#8220;SMB&#8221;... <a
href="http://jappler.com/blog/archive/2007/11/16/mac-os-x-105-leopard-smb-fix">Read More &#187;</a>]]></description> <content:encoded><![CDATA[<p>I ran into an issue earlier today where I could not connect to a SMB share after my upgrade to Mac OS X 10.5.  After some research, <a
href="http://discussions.apple.com/thread.jspa?threadID=1211756&amp;tstart=45">I found a thread in Apple&#8217;s Discussions</a>.</p><p>Basically&#8230;you need to not use &#8220;Connect to Server&#8230;&#8221; &#8211; you need to mount/unmount the SMB share via the command line.</p><p><strong>Basic Mount/Unmount Process</strong></p><ol><li>Create a directory (folder) where you want the mounted share to appear.  I created a folder called &#8220;SMB&#8221; on my Desktop</li><li>Type in the following command: mount_smbfs //useyourusername@localhost/remote_share /Users/useyourusername/Desktop/SMB in the terminal</li><li>You will be prompted for your password, type it in</li><li>You now have access to the files on the remote server in the folder you created &#8211; enjoy!</li><li>Once you are done, unmount the server by typing in the command: umount /Users/useyourusername/Desktop/SMB</li></ol><p>Hopefully Apple will fix this issue ASAP, but until they do, you now have a way to connect to servers via SMB.</p> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2007/11/16/mac-os-x-105-leopard-smb-fix/feed</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Mac OS X 10.5 (Leopard) Finally</title><link>http://jappler.com/blog/archive/2007/10/31/mac-os-105-leopard-finally</link> <comments>http://jappler.com/blog/archive/2007/10/31/mac-os-105-leopard-finally#comments</comments> <pubDate>Thu, 01 Nov 2007 02:17:15 +0000</pubDate> <dc:creator>Jen</dc:creator> <category><![CDATA[Apple]]></category> <category><![CDATA[Mac-OS-X]]></category> <category><![CDATA[MacBook-Pro]]></category> <guid
isPermaLink="false">http://www.jappler.com/blog/archive/2007/10/31/mac-os-105-leopard-finally</guid> <description><![CDATA[I finally had some time this evening to install Mac OS X 10.5 on my MacBook Pro. I have not done a thorough run through of all the new bells and whistles but I have to say &#8211; it is pretty sharp OS. Everything is very crisp and clean. I will report back later when I have more of an opinion.]]></description> <content:encoded><![CDATA[<p>I finally had some time this evening to install Mac OS X 10.5 on my MacBook Pro.  I have not done a thorough run through of all the new bells and whistles but I have to say &#8211; it is  pretty sharp OS.  Everything is very crisp and clean.  I will report back later when I have more of an opinion. <img
src='http://jappler.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2007/10/31/mac-os-105-leopard-finally/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>so long, farewell ben!</title><link>http://jappler.com/blog/archive/2006/11/20/so-long-farewell-ben</link> <comments>http://jappler.com/blog/archive/2006/11/20/so-long-farewell-ben#comments</comments> <pubDate>Tue, 21 Nov 2006 04:02:36 +0000</pubDate> <dc:creator>Jen</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[People]]></category> <category><![CDATA[Apache]]></category> <category><![CDATA[Ben]]></category> <category><![CDATA[Camageddon-2]]></category> <category><![CDATA[Diablo]]></category> <category><![CDATA[Diablo-II]]></category> <category><![CDATA[Mac OS X Server]]></category> <category><![CDATA[Mac-OS-X]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[Quake-3-Arena]]></category> <category><![CDATA[WebObjects]]></category> <guid
isPermaLink="false">http://www.jappler.com/blog/archive/2006/11/20/so-long-farewell-ben.php</guid> <description><![CDATA[After working with Ben for almost eight years he had decided to move on. I wanted to wish Ben all the luck in the world. We had a great time working together for many years&#8230;as he put up with my on again off again relationship with Mac OS X Server and I put up with his &#8220;not as funny as he thought&#8221; videos and comics We also had a good time playing Carmageddon 2, Diablo,... <a
href="http://jappler.com/blog/archive/2006/11/20/so-long-farewell-ben">Read More &#187;</a>]]></description> <content:encoded><![CDATA[<p>After working with <a
href="http://cyberdog.wordpress.com/">Ben</a> for almost eight years he had decided to move on.  I wanted to wish Ben all the luck in the world.  We had a great time working together for many years&#8230;as he put up with my on again off again relationship with Mac OS X Server and I put up with his &#8220;not as funny as he thought&#8221; videos and comics <img
src='http://jappler.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> We also had a good time playing <a
href="http://en.wikipedia.org/wiki/Carmageddon_2">Carmageddon 2</a>, <a
href="http://en.wikipedia.org/wiki/Diablo_%28computer_game%29">Diablo</a>, <a
href="http://en.wikipedia.org/wiki/Diablo_II">Diablo II</a> and <a
href="http://en.wikipedia.org/wiki/Quake_3_Arena">Quake 3 Arena</a>.  We did do some great work in between all the games and great music (I got him out of the &#8220;ambient&#8221; music mode and opened the door to electronica, DJs, etc).  We did do a kick ass job of putting together a really sweet Mac OS X/Mac OS X Server server set up using Apache, MySQL, PHP, WebObjects complete with failover.  Best of luck and thanks for the good times.</p> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2006/11/20/so-long-farewell-ben/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>fun Mac OS X screenshots.</title><link>http://jappler.com/blog/archive/2006/06/06/fun-mac-os-x-screenshots</link> <comments>http://jappler.com/blog/archive/2006/06/06/fun-mac-os-x-screenshots#comments</comments> <pubDate>Wed, 07 Jun 2006 00:55:01 +0000</pubDate> <dc:creator>Jen</dc:creator> <category><![CDATA[Apple]]></category> <category><![CDATA[General]]></category> <category><![CDATA[Finder]]></category> <category><![CDATA[iDisk]]></category> <category><![CDATA[Mac-OS-X]]></category> <category><![CDATA[Mail.app]]></category> <category><![CDATA[screenshots]]></category> <guid
isPermaLink="false">http://www.jappler.com/blog/archive/2006/06/07/fun-mac-os-x-screenshots.php</guid> <description><![CDATA[I spent the majority of Monday night cleaning up my hardrive, my email, my server space, and my iDisk. During this cleanup I saw some interesting (and in my mind funny) things&#8230;I just had to take a screenshot. Enjoy. The first screenshot is from my Mail.app. Someone had sent me an html email that contained lots of graphics&#8230;when I saw the number of attachments I had to laugh. Sometimes I think about putting something similar... <a
href="http://jappler.com/blog/archive/2006/06/06/fun-mac-os-x-screenshots">Read More &#187;</a>]]></description> <content:encoded><![CDATA[<p>I spent the majority of Monday night cleaning up my hardrive, my email, my server space, and my iDisk. During this cleanup I saw some interesting (and in my mind funny) things&#8230;I just had to take a screenshot.  Enjoy.<br
/> <br
/> The first screenshot is from my Mail.app.  Someone had sent me an html email that contained lots of graphics&#8230;when I saw the number of attachments I had to laugh.  Sometimes I think about putting something similar to that in my CC line of my email for those who copy everyone they ever knew.  Stop the insanity!  Good work Apple on putting this one in.<br
/> <a
class="imagelink" href="http://media.jappler.com/files/2006/06/lots.gif" title="Lots of Attachments"><img
class="postimg" src="http://media.jappler.com/files/2006/06/lots-150x16.gif" alt="Lots of Attachments" /></a><br
/> <br
/> The next screenshot was taken when I was uploading my movies to my iDisk.  I should only have 1gig of space, but on this day&#8230;my Finder thought I had  2 TB of space!<br
/> <a
class="imagelink" href="http://media.jappler.com/files/2006/06/iDisk.gif" title="iDisk space"><img
class="postimg" src="http://media.jappler.com/files/2006/06/iDisk-150x51.gif" alt="iDisk space" /></a><br
/> [tags]Mac OS X, screenshots, Mail.app, Finder, iDisk[/tags]</p> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2006/06/06/fun-mac-os-x-screenshots/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>fun with defaults write in Mac OS X.</title><link>http://jappler.com/blog/archive/2006/04/27/fun-with-defaults-write-in-mac-os-x</link> <comments>http://jappler.com/blog/archive/2006/04/27/fun-with-defaults-write-in-mac-os-x#comments</comments> <pubDate>Fri, 28 Apr 2006 01:37:23 +0000</pubDate> <dc:creator>Jen</dc:creator> <category><![CDATA[Apple]]></category> <category><![CDATA[General]]></category> <category><![CDATA[HOWTOs]]></category> <category><![CDATA[defaults-write]]></category> <category><![CDATA[Finder]]></category> <category><![CDATA[Mac-OS-X]]></category> <guid
isPermaLink="false">http://www.jappler.com/archive/2006/04/27/fun-with-defaults-write-in-mac-os-x/</guid> <description><![CDATA[Ever since yesterday&#8217;s defaults write question and then post, I have been doing some fun research on what else is possible with defaults write Note:Most of these changes require you to restart the finder after entering these into Terminal.app killall Finder. change your screenshot file format: defaults write NSGlobalDomain AppleScreenShotFormat JPEG or TIFF or PNG or PICT Disable outlines around icon names on the desktop: defaults write NSGlobalDomain Desktop.HasDarkBackground 0 Show trash on the desktop:... <a
href="http://jappler.com/blog/archive/2006/04/27/fun-with-defaults-write-in-mac-os-x">Read More &#187;</a>]]></description> <content:encoded><![CDATA[<p>Ever since yesterday&#8217;s <code>defaults write</code> question and then post, I have been doing some fun research on what else is possible with <code>defaults write</code><br
/> <b>Note:</b>Most of these changes require you to restart the finder after entering these into Terminal.app <code>killall Finder</code>.</p><ul><li>change your screenshot file format: <code>defaults write NSGlobalDomain AppleScreenShotFormat JPEG or TIFF or PNG or PICT</code></li><li>Disable outlines around icon names on the desktop: <code>defaults write NSGlobalDomain Desktop.HasDarkBackground 0</code></li><li>Show trash on the desktop: <code>defaults write com.apple.finder Desktop.HasTrash 1</code></li><li><a
href="http://docs.info.apple.com/article.html?artnum=25758">Configure AFP to exclusively use SSH</a></li><li><a
href="http://docs.info.apple.com/article.html?artnum=301446">Create a login hook</a></li><li>Finally&#8230;when someone is driving you completely insane and it is time to show them not to mess with tech support&#8230;<code>defaults write com.apple.Finder AllowCutForItems true</code> This neat trick takes everything you cut but not paste.  Everything you cut goes into the trash and not to the clipboard.  April Fools!</li></ul><p>As you can see, there are endless cool things you can do with defaults write.  Check out the <a
href="http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/defaults.1.html">defaults man pages!</a><br
/> [tags]defaults write, Finder, Mac OS X[/tags]</p> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2006/04/27/fun-with-defaults-write-in-mac-os-x/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Show Hidden Files in Mac OS X</title><link>http://jappler.com/blog/archive/2006/04/26/show-hidden-files-in-mac-os-x</link> <comments>http://jappler.com/blog/archive/2006/04/26/show-hidden-files-in-mac-os-x#comments</comments> <pubDate>Wed, 26 Apr 2006 22:55:41 +0000</pubDate> <dc:creator>Jen</dc:creator> <category><![CDATA[Apple]]></category> <category><![CDATA[HOWTOs]]></category> <category><![CDATA[defaults-write]]></category> <category><![CDATA[Hidden-Files]]></category> <category><![CDATA[Mac-OS-X]]></category> <guid
isPermaLink="false">http://www.jappler.com/archive/2006/04/26/show-hidden-files-in-mac-os-x/</guid> <description><![CDATA[A Mac OS X/UNIX newbie asked me if there was any way to show all the hidden files in Mac OS X so that he could browse the UNIX directories when using the Finder. Since there may be others out there that have the same need/want I thought I would share an easy way to show and then hide all hidden files within the Finder. To show hidden files: open the Terminal application and type:... <a
href="http://jappler.com/blog/archive/2006/04/26/show-hidden-files-in-mac-os-x">Read More &#187;</a>]]></description> <content:encoded><![CDATA[<p>A Mac OS X/UNIX newbie asked me if there was any way to show all the hidden files in Mac OS X so that he could browse the UNIX directories when using the Finder.  Since there may be others out there that have the same need/want I thought I would share an easy way to show and then hide all hidden files within the Finder.<br
/> <img
src="/wp-content/uploads/2005/terminal.jpg" class="alignleft" /><br
/> <b>To show hidden files</b>: open the Terminal application and type: <code>defaults write com.apple.finder AppleShowAllFiles TRUE</code>.  In order for the Finder to recognize the change, restart the Finder by then typing: <code>killall Finder</code>.<br
/> <b>To hide hidden files</b>: open the Terminal application and type: <code>defaults write com.apple.finder AppleShowAllFiles FALSE</code>.  In order for the Finder to recognize the change, restart the Finder by then typing: <code>killall Finder</code>.</p> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2006/04/26/show-hidden-files-in-mac-os-x/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Multiple IPs, One NIC, Apache, Multiple Virtual Hosts with SSL, Mac OS X</title><link>http://jappler.com/blog/archive/2005/06/29/multiple-ips-one-nic-apache-multiple-virtual-hosts-with-ssl</link> <comments>http://jappler.com/blog/archive/2005/06/29/multiple-ips-one-nic-apache-multiple-virtual-hosts-with-ssl#comments</comments> <pubDate>Thu, 30 Jun 2005 03:03:46 +0000</pubDate> <dc:creator>Jen</dc:creator> <category><![CDATA[Apache]]></category> <category><![CDATA[Featured]]></category> <category><![CDATA[General]]></category> <category><![CDATA[HOWTOs]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[Mac-OS-X]]></category> <category><![CDATA[SSL]]></category> <category><![CDATA[vhosts]]></category> <guid
isPermaLink="false">http://www.jappler.com/?p=248</guid> <description><![CDATA[Set Up: Mac OS X Client OS, one network card, and multiple Virtual Hosts (three of the Virtual Hosts need SSL certificates) using Apache. Problem: I have been using Virtual Hosts with Apache for a few years and until now, I have only had one web site that has needed a SSL certificate. After rethinking site security, I decided at least two additional web sites needed SSL certificates so no passwords were sent as clear... <a
href="http://jappler.com/blog/archive/2005/06/29/multiple-ips-one-nic-apache-multiple-virtual-hosts-with-ssl">Read More &#187;</a>]]></description> <content:encoded><![CDATA[<p><b>Set Up: </b>Mac OS X Client OS, one network card, and multiple Virtual Hosts (three of the Virtual Hosts need SSL certificates) using Apache.<span
id="more-248"></span><br
/> <b>Problem:</b> I have been using <a
href="http://httpd.apache.org/docs/vhosts/index.html">Virtual Hosts</a> with <a
href="http://httpd.apache.org/">Apache</a> for a few years and until now, I have only had one web site that has needed a SSL certificate.  After rethinking site security, I decided at least two additional web sites needed SSL certificates so no passwords were sent as clear text while using <a
href="http://www.faqs.org/rfcs/rfc2617.html">http basic authentication</a>.  However, my current  Virtual Host setup only supports one SSL certificate&#8230;and I need to use three.<br
/> <br
/> <b>Basic Apache background:</b><br
/> When configuring multiple Virtual Hosts in Apache, you can use IP-based Virtual Hosts, or name-based Virtual Hosts. (When using IP-based Virtual Hosts, the server uses an IP address for each Virtual Host. When using name-based Virtual Hosts, all sites use the same IP address and the client&#8217;s browser sends the name of the site with each request. Apache then uses the name to determine which host should serve the request.)  The problem with using name-based Virtual Hosts  is that the host name is contained in the data stream (which is encrypted by SSL). In order for Apache to determine what name-based Virtual Host you are trying to access, Apache must first decrypt the stream.  This process requires an SSL certificate so Apache must choose an SSL certificate before it knows the virtual host.  So, if you try to configure your Virtual Hosts (name-based) with multiple SSL certificates, Apache will choose the first one listed and try and use that for all secure connections, thus producing errors for browsers.<br
/> <br
/> <b>Solution Part 1: Apache</b><br
/> Because Apache needs to determine which certificate to use without first decrypting the stream, you have to use <a
href="http://httpd.apache.org/docs/vhosts/ip-based.html">IP-based Virtual Hosts</a> so multiple Virtual Hosts can have their own certificates.<br
/> <br
/> A snippet of my config:<br
/> <code><br
/> ServerName www.jappler.com<br
/> ServerAdmin fake@email.com<br
/> DocumentRoot "/Volumes/www/Sites/jappler.com/documents"<br
/> CustomLog '|/usr/sbin/rotatelogs "/Volumes/www/Sites/jappler.com/log/access_log" 604800' combined<br
/> ErrorLog '|/usr/sbin/rotatelogs "/Volumes/www/Sites/jappler.com/log/error_log" 604800<br
/> SSLEngine off<br
/> </code><br
/> <br
/> <code><br
/> ServerName dev.jappler.com<br
/> ServerAdmin fake@email.com<br
/> DocumentRoot "/Volumes/www/Sites/dev.jappler.com/documents"<br
/> CustomLog '|/usr/sbin/rotatelogs "/Volumes/www/Sites/dev.jappler.com/log/access_log" 604800' combined<br
/> ErrorLog '|/usr/sbin/rotatelogs "/Volumes/www/Sites/dev.jappler.com/log/error_log" 604800<br
/> SSLEngine on<br
/> SSLCertificateFile /etc/httpd/ssl_cert/dev-cert.crt<br
/> SSLCertificateKeyFile /etc/httpd/ssl_key/private-dev.key</p><p> SSLOptions +StdEnvVars</p><p> SSLOptions +StdEnvVars<br
/> </code><br
/> <br
/> <code><br
/> ServerName webmail.jappler.com<br
/> ServerAdmin fake@email.com<br
/> DocumentRoot "/Volumes/www/Sites/webmail.jappler.com/documents"<br
/> CustomLog '|/usr/sbin/rotatelogs "/Volumes/www/Sites/webmail.jappler.com/log/access_log" 604800' combined<br
/> ErrorLog '|/usr/sbin/rotatelogs "/Volumes/www/Sites/webmail.jappler.com/log/error_log" 604800<br
/> SSLEngine on<br
/> SSLCertificateFile /etc/httpd/ssl_cert/webmail-cert.crt<br
/> SSLCertificateKeyFile /etc/httpd/ssl_key/private-webmail.key</p><p> SSLOptions +StdEnvVars</p><p> SSLOptions +StdEnvVars</p><p> </code><br
/> <br
/> <b>Solution Part 2: OS/Multiple IPs</b><br
/> To configure your computer/server to use multiple IPs on one network card, open System Preferences &gt; Network.  I like to name my &#8220;locations&#8221; logically, so I created a new &#8220;location&#8221; and named it &#8220;Multiple IPs.&#8221; I then configured my &#8220;Built-in Ethernet port (see first picture).  The first IP configuration is now set up.  To set up the next IP configuration, I duplicated the &#8220;Built-in Ethernet&#8221; by going to System Preferences &gt; Network &gt; Network Port Configurations, and I renamed it &#8220;Built-in Ethernet (Virtual)&#8221;.  I then configured that to use a different IP, and that was all I needed to do.  Questions?  Let me know!<br
/> <br
/> <a
href="http://www.jappler.com/?pp_album=1&amp;pp_image=ip1.gif" title="IP Config 1" target="_top"><img
src="http://media.jappler.com/files/2005/thumb_ip1.gif" width="130" height="120" alt="IP Config 1" class="centered" /></a> <a
href="http://www.jappler.com/?pp_album=1&amp;pp_image=ip2.gif" title="IP Config 2" target="_top"><img
src="http://media.jappler.com/files/2005/thumb_ip2.gif" width="130" height="120" alt="IP Config 2" class="centered" /></a> <a
href="http://www.jappler.com/?pp_album=1&amp;pp_image=ip3.gif" title="IP Config 3" target="_top"><img
src="http://media.jappler.com/files/2005/thumb_ip3.gif" width="130" height="120" alt="IP Config 3" class="centered" /></a> <a
href="http://www.jappler.com/?pp_album=1&amp;pp_image=ip4.gif" title="IP Config 4" target="_top"><img
src="http://media.jappler.com/files/2005/thumb_ip4.gif" width="130" height="120" alt="IP Config 4" class="centered" /></a><br
/> [tags]Mac OS X, apache, vhosts, SSL[/tags]</p> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2005/06/29/multiple-ips-one-nic-apache-multiple-virtual-hosts-with-ssl/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
