<?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>Hans Rasmussen &#187; Setup</title>
	<atom:link href="http://www.hansrasmussen.com/category/setup/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hansrasmussen.com</link>
	<description>info@hansrasmussen.com, +46 (0)723 207008</description>
	<lastBuildDate>Wed, 01 Feb 2012 11:59:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Customizing WordPress WYSIWYG editor TinyMCE</title>
		<link>http://www.hansrasmussen.com/2012/01/customizing-wordpress-wysiwyg-editor-tinymce/</link>
		<comments>http://www.hansrasmussen.com/2012/01/customizing-wordpress-wysiwyg-editor-tinymce/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 20:09:54 +0000</pubDate>
		<dc:creator>Hans Rasmussen</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.hansrasmussen.com/?p=798</guid>
		<description><![CDATA[Since WordPress 3.0 there is a function to apply editor styles to the default WYSIWYG editor TinyMCE. By using the function add_editor_style(); you can define the stylesheet where you have your editor styles defined. Typically you put the call in your theme&#8217;s functions.php file. Default the function looks in your themes root folder for the [...]]]></description>
			<content:encoded><![CDATA[<p>Since WordPress 3.0 there is a function to apply editor styles to the default WYSIWYG editor TinyMCE. By using the function <span style="color: #3366ff;">add_editor_style();</span> you can define the stylesheet where you have your editor styles defined. Typically you put the call in your theme&#8217;s <span style="color: #3366ff;">functions.php</span> file. Default the function looks in your themes root folder for the file <span style="color: #3366ff;">editor-style.css</span> and if you want to, you can specify a location and stylesheet name yourself. Location starts with the themes root folder; <span style="color: #3366ff;">add_editor_style(&#8216;css/editorstyles.css&#8217;);</span></p>
<p>Notice that you should of course not copy all your template stylesheet styles to the editor stylesheet. Only the ones necessary, typically the styles that is used for styling your posts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hansrasmussen.com/2012/01/customizing-wordpress-wysiwyg-editor-tinymce/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove automatic links by default when adding images to your pages and posts in WordPress</title>
		<link>http://www.hansrasmussen.com/2011/08/remove-automatic-links-by-default-when-adding-images-to-your-pages-and-posts-in-wordpress/</link>
		<comments>http://www.hansrasmussen.com/2011/08/remove-automatic-links-by-default-when-adding-images-to-your-pages-and-posts-in-wordpress/#comments</comments>
		<pubDate>Sun, 14 Aug 2011 11:13:38 +0000</pubDate>
		<dc:creator>Hans Rasmussen</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Setup]]></category>

		<guid isPermaLink="false">http://www.hansrasmussen.com/?p=794</guid>
		<description><![CDATA[When you insert images from your gallery in WordPress you will notice that all your images are linked with the url to your original image upload. Notice also that WordPress suggests a link in the Link URL field. Under the field you will also have 3 buttons, &#8220;None&#8221;, &#8220;File URL&#8221; and &#8220;Post URL&#8221;. If you [...]]]></description>
			<content:encoded><![CDATA[<p>When you insert images from your gallery in WordPress you will notice that all your images are linked with the url to your original image upload. Notice also that WordPress suggests a link in the Link URL field. Under the field you will also have 3 buttons, &#8220;None&#8221;, &#8220;File URL&#8221; and &#8220;Post URL&#8221;. If you don&#8217;t want the link to be created you can choose &#8220;None&#8221; and you notice also that the content in Link URL field will be gone.</p>
<p>This default behaviour can be changed if you&#8217;d like your images not to be automatically linked. <strong>Preferably in your templates function.php file </strong>so you can make sure you can update WordPress later with no lost setup.</p>
<p><code>update_option('image_default_link_type','none');</code></p>
<p>The other options are <code>'file'</code> and <code>'post'</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hansrasmussen.com/2011/08/remove-automatic-links-by-default-when-adding-images-to-your-pages-and-posts-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Live Writer with WordPress</title>
		<link>http://www.hansrasmussen.com/2010/03/windows-live-writer-with-wordpress/</link>
		<comments>http://www.hansrasmussen.com/2010/03/windows-live-writer-with-wordpress/#comments</comments>
		<pubDate>Sun, 28 Mar 2010 00:27:18 +0000</pubDate>
		<dc:creator>Hans Rasmussen</dc:creator>
				<category><![CDATA[Setup]]></category>
		<category><![CDATA[featured]]></category>
		<category><![CDATA[Windows Live Writer]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.hansrasmussen.com/2010/03/windows-live-writer-with-wordpress/</guid>
		<description><![CDATA[I use WordPress as a blogging tool. Instead of logging into the administration system I can easily create my blog entries in a desktop program and publish my entry if XML-RPC and Atom Publishing Protocol settings are enabled in your WordPress blog (Settings –&#62; Writing) I use Windows Live Writer and my blog is in [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hansrasmussen.com/wp-content/uploads/2010/03/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" title="image" border="0" alt="image" align="left" src="http://www.hansrasmussen.com/wp-content/uploads/2010/03/image_thumb.png" width="244" height="221" /></a> </p>
<p>I use WordPress as a blogging tool. Instead of logging into the administration system I can easily create my blog entries in a desktop program and publish my entry if XML-RPC and Atom Publishing Protocol settings are enabled in your WordPress blog (Settings –&gt; Writing)</p>
<p>I use Windows Live Writer and my blog is in a hosted environment and therefore I can not configure server myself since configuration is shared among all users.</p>
<p>I noticed using WordPress 2.9.2 that I could not use any desktop program to remotely publish correctly formatted posts anymore. &lt;&gt; and &amp; characters were removed from my posts and therefore rendered incorrectly. I found out that it is was caused by an incorrect usage of a library, LibXML2, associated with PHP (the scripting engine WordPress use). </p>
<p>To correct this problem in a hosted environment you can download a plug-in that will help you take care of this problem. <a title="http://core.trac.wordpress.org/ticket/7771" href="http://core.trac.wordpress.org/ticket/7771">http://core.trac.wordpress.org/ticket/7771</a></p>
<p>The plugin can be located here <a title="http://josephscott.org/code/wordpress/plugin-libxml2-fix/" href="http://josephscott.org/code/wordpress/plugin-libxml2-fix/">http://josephscott.org/code/wordpress/plugin-libxml2-fix/</a></p>
<p>If you still have problems (which I had), you can try to downgrade the library one version further by editing the plugin file libxml2-fix.php</p>
<p>Replace:</p>
<p>if (    <br />&#160;&#160;&#160; LIBXML_DOTTED_VERSION == &#8217;2.6.27&#8242; </p>
<p>With: </p>
<p>if (    <br />&#160;&#160;&#160; LIBXML_DOTTED_VERSION ==<strong> &#8217;2.6.26&#8242;</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hansrasmussen.com/2010/03/windows-live-writer-with-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable Loopback when you experience HTTP 401.1 when accessing web site from localhost</title>
		<link>http://www.hansrasmussen.com/2010/02/disable-loopback-when-you-experience-http-401-1-when-accessing-web-site-from-localhost/</link>
		<comments>http://www.hansrasmussen.com/2010/02/disable-loopback-when-you-experience-http-401-1-when-accessing-web-site-from-localhost/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 23:46:22 +0000</pubDate>
		<dc:creator>Hans Rasmussen</dc:creator>
				<category><![CDATA[Setup]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[IIS]]></category>

		<guid isPermaLink="false">http://www.hansrasmussen.com/2010/02/disable-loopback-when-you-experience-http-401-1-when-accessing-web-site-from-localhost/</guid>
		<description><![CDATA[I experienced something that made my whole day full of troubleshooting. On a Windows 2008 Server Microsoft Dynamics CRM 4.0 was installed. CRM web application was using port 80 and had no host headers defined. Great, I wanted another web application to be located on the same server and therefore we created a DNS entry [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.hansrasmussen.com/wp-content/uploads/2010/02/Penguins.jpg"></a>I experienced something that made my whole day full of troubleshooting.</p>
<p>On a Windows 2008 Server Microsoft Dynamics CRM 4.0 was installed. CRM web application was using port 80 and had no host headers defined.</p>
<p>Great, I wanted another web application to be located on the same server and therefore we created a DNS entry to point to that specific machine (IP-address). I created the web application and specified the host header to DNS specified address. The web application was using Windows Integrated Authentication and the application had a domain service account specified in the application pool that was assigned to the web application.</p>
<p>Great so lets try it; <a href="http://mydnsentry/">http://mydnsentry/</a></p>
<p>Windows keeps asking for username and password and I was never let in. From another server I made a connection <a href="http://mydnsentry/">http://mydnsentry</a> and now it suddenly worked. Strange? Working from OUTSIDE the server but not INSIDE the server itself.</p>
<p>We spent hours and hours thinking Kerberos was setup incomplete, tried about every trick ever known and finally stumpled upon this article from Microsoft</p>
<p><a href="http://support.microsoft.com/kb/896861">http://support.microsoft.com/kb/896861</a></p>
<p>So if you have a host header that does NOT match the local computer name you will get problems unless you disable &#8220;Loopback check&#8221;. This security feature has been added to prevent a reflection attack.</p>
<p>Quote from article; </p>
<p>This issue occurs if you install Microsoft Windows XP Service Pack 2 (SP2) or Microsoft Windows Server 2003 Service Pack 1 (SP1). Windows XP SP2 and Windows Server 2003 SP1 include a loopback check security feature that is designed to help prevent reflection attacks on your computer. Therefore, authentication fails if the FQDN or the custom host header that you use does not match the local computer name.</p>
<p>To set the <strong>DisableLoopbackCheck</strong> registry key yourself, follow these steps:</p>
<ol>
<li>Set the DisableStrictNameChecking registry entry to 1. For more information about how to do this, click the following article number to view the article in the Microsoft Knowledge Base:
<div class="indent"><a class="KBlink" href="http://support.microsoft.com/kb/281308/">281308</a>  <span class="pLink">(http://support.microsoft.com/kb/281308/ ) </span>Connecting to SMB share on a Windows 2000-based computer or a Windows Server 2003-based computer may not work with an alias name</div>
</li>
<li>Click <strong class="uiterm">Start</strong>, click <strong class="uiterm">Run</strong>, type <span class="userInput">regedit</span>, and then click <strong class="uiterm">OK</strong>.</li>
<li>In Registry Editor, locate and then click the following registry key:
<div class="indent"><strong class="uiterm">HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa</strong></div>
</li>
<li>Right-click <strong class="uiterm">Lsa</strong>, point to <strong class="uiterm">New</strong>, and then click <strong class="uiterm">DWORD Value</strong>.</li>
<li>Type <span class="userInput">DisableLoopbackCheck</span>, and then press ENTER.</li>
<li>Right-click <strong class="uiterm">DisableLoopbackCheck</strong>, and then click <strong class="uiterm">Modify</strong>.</li>
<li>In the <strong class="uiterm">Value data</strong> box, type <span class="userInput">1</span>, and then click <strong class="uiterm">OK</strong>.</li>
<li>Quit Registry Editor, and then restart your computer.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.hansrasmussen.com/2010/02/disable-loopback-when-you-experience-http-401-1-when-accessing-web-site-from-localhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing LAMP (easy way)</title>
		<link>http://www.hansrasmussen.com/2010/02/installing-lamp-easy-way/</link>
		<comments>http://www.hansrasmussen.com/2010/02/installing-lamp-easy-way/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 23:41:39 +0000</pubDate>
		<dc:creator>Hans Rasmussen</dc:creator>
				<category><![CDATA[Setup]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[mySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.hansrasmussen.com/?p=41</guid>
		<description><![CDATA[I previously wrote about how to install WordPress on Ubuntu with some information on how to setup Apache, mySQL, PHP. A faster way (if you do not care about selecting and configuring manually) sudo tasksel install lamp-server]]></description>
			<content:encoded><![CDATA[<p>I previously wrote about how to install WordPress on Ubuntu with some information on how to setup Apache, mySQL, PHP.</p>
<p>A faster way (if you do not care about selecting and configuring manually)</p>
<p>sudo tasksel install lamp-server</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hansrasmussen.com/2010/02/installing-lamp-easy-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up WordPress on Ubuntu</title>
		<link>http://www.hansrasmussen.com/2010/02/setting-up-wordpress-on-ubuntu/</link>
		<comments>http://www.hansrasmussen.com/2010/02/setting-up-wordpress-on-ubuntu/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 23:39:57 +0000</pubDate>
		<dc:creator>Hans Rasmussen</dc:creator>
				<category><![CDATA[Setup]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[mySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.hansrasmussen.com/?p=38</guid>
		<description><![CDATA[There are a few good blogs so I decided to install/configure WordPress on Ubuntu 7.1 workstation to see what is was all about. Since I wasn&#8217;t using any packaging tools I tried to make it through a terminal window. That wasn&#8217;t that easy as I thought so I thought I&#8217;d give some documentation about the steps. Most [...]]]></description>
			<content:encoded><![CDATA[<p>There are a few good blogs so I decided to install/configure WordPress on Ubuntu 7.1 workstation to see what is was all about.</p>
<p>Since I wasn&#8217;t using any packaging tools I tried to make it through a terminal window. That wasn&#8217;t that easy as I thought so I thought I&#8217;d give some documentation about the steps. Most of if was found through &#8220;Google&#8221;, but some also by reading further into different documentation on each of the websites for each technology.</p>
<p>Installing Ubuntu 7.10 was easy. Inserted the CD booted my laptop answered a few questions and in 20 min I was running my Ubuntu 7.10 workstation. Even gave it a running on the software updates and it was all ready in a few minutes.</p>
<p>First you need to install Apache2 so in a terminal window you need to type</p>
<p><strong>sudo apt-get install apache2</strong></p>
<p>Now when Apache is installed you want to install PHP and other necessary libraries for Apache</p>
<p><strong>sudo apt-get install php5</strong></p>
<p>sudo apt-get install libapache2-mod-php5</p>
<p>sudo /etc/init.d/apache2 restart</p>
<p>When PHP is installed you want to install MySQL and other necessary libraries so that PHP, Apache and MySQL integrates. Notice when you install you will be requested to create a password for user &#8216;root&#8217;. Please remember this password. It is needed later on.</p>
<p><strong>sudo apt-get install mysql-server</strong></p>
<p>sudo apt-get install mysql-client</p>
<p>sudo apt-get install php5-mysql</p>
<p>sudo apt-get install libapache2-mod-auth-mysql</p>
<p>WordPress also supports URL-rewriting (a technique that enables friendly URLs instead of cryptic mypage.php?id=298)</p>
<p><strong>sudo a2enmod rewrite</strong></p>
<p>sudo gedit /etc/apache2/sites-enabled/000-default</p>
<p>Change AllowOverride None to AllowOverride All</p>
<p>sudo /etc/init.d/apache2 restart</p>
<p>Now when everything is installed you need to create a database and a database user for WordPress in order to complete the instructions on WordPress website. Notice that when you create a user (with the grant usage command) that you need to do this 3 times (once for localhost, once for IP for localhost and once for the hostname of your computer)</p>
<p><strong>mysql -u root -p&#8217;YourpasswordFromInstall&#8217;</strong>(you are now logged in)</p>
<p><strong>CREATE DATABASE wordpress;</strong> <strong>&#8216;wordpressuser&#8217;@'yourcomputername&#8217;</strong><strong>;</strong>(you have now created users and given users privileges to wordpress database so you can now try to logon with newly created user)</p>
<p>grant usage on *.* to &#8216;wordpressuser&#8217;@'localhost&#8217; identified by &#8216;wordpresspassword&#8217;;</p>
<p>grant usage on *.* to &#8216;wordpressuser&#8217;@&#8217;127.0.0.1&#8242; identified by &#8216;wordpresspassword&#8217;;</p>
<p>grant usage on *.* to &#8216;wordpressuser&#8217;@'yourcomputername&#8217; identified by &#8216;wordpresspassword&#8217;;</p>
<p>grant all privileges on wordpress.* to &#8216;wordpressuser&#8217;@'localhost&#8217;;</p>
<p>grant all privileges on wordpress.* to &#8216;wordpressuser&#8217;@&#8217;127.0.0.1&#8242;;</p>
<p>grant all privileges on wordpress.* to</p>
<p>exit;</p>
<p><strong>mysql -u wordpressuser -p&#8217;wordpresspassword&#8217; wordpress</strong>(if everything has gone alright, you should now be logged in)</p>
<p>Now your Ubuntu should be ready for the instructions given at WordPress own website</p>
<p><a href="http://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Install">http://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Install</a></p>
<p>A tip is that the root for Apache is in folder /var/www and if you wish to use WordPress as a subdirectory you should copy wordpress directory to here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hansrasmussen.com/2010/02/setting-up-wordpress-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comparing different editions of SharePoint including a WSS 3.0 only installation</title>
		<link>http://www.hansrasmussen.com/2010/02/comparing-different-editions-of-sharepoint-including-a-wss-3-0-only-installation/</link>
		<comments>http://www.hansrasmussen.com/2010/02/comparing-different-editions-of-sharepoint-including-a-wss-3-0-only-installation/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 23:16:04 +0000</pubDate>
		<dc:creator>Hans Rasmussen</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[WSS]]></category>

		<guid isPermaLink="false">http://www.hansrasmussen.com/?p=19</guid>
		<description><![CDATA[A good to have link is one where you could quickly find the differences between the editions of SharePoint and even more important the differences between a SharePoint and a WSS 3.0 install. http://office.microsoft.com/en-us/sharepointtechnology/FX101758691033.aspx?ofcresset=1]]></description>
			<content:encoded><![CDATA[<p>A good to have link is one where you could quickly find the differences between the editions of SharePoint and even more important the differences between a SharePoint and a WSS 3.0 install.</p>
<p><a href="http://office.microsoft.com/en-us/sharepointtechnology/FX101758691033.aspx?ofcresset=1">http://office.microsoft.com/en-us/sharepointtechnology/FX101758691033.aspx?ofcresset=1</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hansrasmussen.com/2010/02/comparing-different-editions-of-sharepoint-including-a-wss-3-0-only-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

