<?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/"
	>

<channel>
	<title>aaron-kelley.net &#187; Mac OS X Server</title>
	<atom:link href="http://aaron-kelley.net/blog/tag/osx-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://aaron-kelley.net</link>
	<description>My little corner of the Internet</description>
	<lastBuildDate>Fri, 18 May 2012 19:32:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>WordPress on Mac OS X &#8212; Server Error 500</title>
		<link>http://aaron-kelley.net/blog/2010/02/wordpress-on-mac-os-x-server-error-500/</link>
		<comments>http://aaron-kelley.net/blog/2010/02/wordpress-on-mac-os-x-server-error-500/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 22:28:04 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Mac OS X Server]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://aaron-kelley.net/?p=780</guid>
		<description><![CDATA[I ran into this problem with WordPress running on a Mac OS X server.  I suppose that this may happen on other servers running Apache as well.  Attempting to access the WordPress site threw this error at you: Server error! The server encountered an internal error and was unable to complete your request. Either the [...]]]></description>
			<content:encoded><![CDATA[<p>I ran into this problem with WordPress running on a Mac OS X server.  I suppose that this may happen on other servers running Apache as well.  Attempting to access the WordPress site threw this error at you:</p>
<blockquote><p><tt>Server error!<br />
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.<br />
If you think this is a server error, please contact the webmaster.<br />
Error 500</tt></p></blockquote>
<p>Turned out that the <tt>.htaccess</tt> file in the root of the WordPress install had some gibberish in it.  It looks like this gibberish replaced some of the actual contents of the file.  I don&#8217;t know how it got there, but fixing the <tt>.htaccess</tt> file solved the problem.  So, that&#8217;s something to check if you are having this problem as well!</p>
]]></content:encoded>
			<wfw:commentRss>http://aaron-kelley.net/blog/2010/02/wordpress-on-mac-os-x-server-error-500/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Use Apple Software Update Services on Mac OS X Server 10.5 to serve updates to 10.6 clients</title>
		<link>http://aaron-kelley.net/blog/2009/12/use-apple-software-update-services-on-mac-os-x-server-10-5-to-serve-updates-to-10-6-clients/</link>
		<comments>http://aaron-kelley.net/blog/2009/12/use-apple-software-update-services-on-mac-os-x-server-10-5-to-serve-updates-to-10-6-clients/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 04:47:40 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Mac OS X Server]]></category>

		<guid isPermaLink="false">http://aaron-kelley.net/?p=598</guid>
		<description><![CDATA[Since Mac OS X Server 10.4, apple has included a software update service that allows you to mirror their software updates to your local server, and configure your clients to check the local server for updates instead of the Apple servers.  This has a few benefits &#8212; it can save you a lot of bandwidth [...]]]></description>
			<content:encoded><![CDATA[<p>Since Mac OS X Server 10.4, apple has included a software update service that allows you to mirror their software updates to your local server, and configure your clients to check the local server for updates instead of the Apple servers.  This has a few benefits &#8212; it can save you a lot of bandwidth when updating lots of clients, you can choose which updates are pushed to your clients and when, and so on.  However, when a new major release of Mac OS X comes along, like this past August&#8217;s release of Mac OS X 10.6, they want you to upgrade your server OS to the new release for their software update service to grab the updates for the new client OS.</p>
<p>In other words, if you have a server running Mac OS X Server 10.5, you can&#8217;t use it to serve updates to client machines running Mac OS X 10.6, unless you upgrade the server to 10.6 as well.  This limitation seems a little silly, surely Apple could push an update for Mac OS X Server 10.5 that told it where to look for 10.6 updates.  The update service itself doesn&#8217;t seem to have really changed &#8212; you can tell your 10.6 clients to check your 10.5 server for updates, and it will work fine, you&#8217;ll just miss out on updates specific to Mac OS X 10.6.</p>
<p>&#8230;or is there a way around this limitation?</p>
<p><span id="more-598"></span>Here is how to configure Mac OS X Server 10.5 to serve updates to 10.6 clients.  A disclaimer: I am sure this method is not supported (or maybe even frowned upon) by Apple.  But, it&#8217;s working for me.  Also, I am assuming that you are an experienced OS X admin, and I am not responsible if your server blows up or otherwise exhibits unexpected behavior as a result of you following these directions.</p>
<ul>
<li>Stop Software Update Services on the server.</li>
<li>Create a file with the following content and save it to <tt>/usr/share/swupd/html/content/meta/mirror-config-1.plist</tt>:<br />
<blockquote><p><tt>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />
&lt;!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;</tt></p>
<p><tt>PrimaryCatalog</p>
<p>http://swscan.apple.com/content/catalogs/index.sucatalog</p>
<p>CatalogsList</tt></p>
<p><tt>http://swscan.apple.com/content/catalogs/index.sucatalog</p>
<p>http://swscan.apple.com/content/catalogs/others/index-leopard.merged-1.sucatalog</p>
<p>http://swscan.apple.com/content/catalogs/others/index-leopard-snowleopard.merged-1.sucatalog</tt></p></blockquote>
</li>
<li>Change the <tt>metaIndexURL</tt> in <tt>/etc/swupd/swupd.plist</tt> as follows:<br />
<blockquote><p><tt>metaIndexURL</p>
<p>http://myserver.com:8088/content/meta/mirror-config-1.plist</tt></p></blockquote>
</li>
<li>Start Software Update Services and wait for it to download the catalog files.</li>
<li>Generate symbolic links to expose the new catalogs on the local web server:<br />
<blockquote><p><tt>cd /usr/share/swupd/html<br />
ln -s /usr/share/swupd/html/content/catalogs/index.sucatalog . # this one is probably already present<br />
ln -s /usr/share/swupd/html/content/catalogs/others/index-leopard.merged-1.sucatalog .<br />
ln -s /usr/share/swupd/html/content/catalogs/others/index-leopard-snowleopard.merged-1.sucatalog .</tt></p></blockquote>
</li>
<li>Restart Software Update Services again, just to be sure.  (After a while, you should notice that it has downloaded some 10.6 updates.)</li>
<li>Change the URL that the 10.6 clients use to check for updates.  Normally, you would use this command:<br />
<blockquote><p><tt>defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL http://myserver.com:8088/</tt></p></blockquote>
<p>But now, we&#8217;ll use this:</p>
<blockquote><p><tt>defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL http://myserver.com:8088/index-leopard-snowleopard.merged-1.sucatalog</tt></p></blockquote>
</li>
<li>Now, the 10.6 clients should be able to get their updates from your 10.5 server.  <img src='http://aaron-kelley.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
</ul>
<p>Now, this wasn&#8217;t my idea, I found it in response to a <a href="http://discussions.apple.com/thread.jspa?messageID=10297359#10297359" target="_blank">query someone made at Apple&#8217;s support web site</a>, back when Mac OS X 10.6 was still pretty new.  I am posting it here in hopes that it will help someone else down the line.</p>
]]></content:encoded>
			<wfw:commentRss>http://aaron-kelley.net/blog/2009/12/use-apple-software-update-services-on-mac-os-x-server-10-5-to-serve-updates-to-10-6-clients/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

