<?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>siliconpizza.com &#187; IIS7</title>
	<atom:link href="http://siliconpizza.com/blog/tag/iis7/feed/" rel="self" type="application/rss+xml" />
	<link>http://siliconpizza.com</link>
	<description>I'll have a slice of that</description>
	<lastBuildDate>Mon, 11 Jul 2011 14:57:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<style type="text/css">
@import url(http://www.google.com/cse/api/branding.css);
</style>
<div class="cse-branding-right" style="background-color:#FFFFFF;color:#000000">
  <div class="cse-branding-form">
    <form action="http://www.google.co.uk/cse" id="cse-search-box" target="_blank">
      <div>
        <input type="hidden" name="cx" value="partner-pub-0990092444456571:mfibeucn22n" />
        <input type="hidden" name="ie" value="ISO-8859-1" />
        <input type="text" name="q" size="31" />
        <input type="submit" name="sa" value="Search" />
      </div>
    </form>
  </div>
  <div class="cse-branding-logo">
    <img src="http://www.google.com/images/poweredby_transparent/poweredby_FFFFFF.gif" alt="Google" />
  </div>
  <div class="cse-branding-text">
    Custom Search
  </div>
</div>

<script type="text/javascript"><!--
google_ad_client = "pub-0990092444456571";
/* 728x90, created 7/24/08 */
google_ad_slot = "4348084769";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>	<item>
		<title>Manage ASP.NET trust settings with Powershell</title>
		<link>http://siliconpizza.com/blog/2011/01/25/asp-net-trust-settings-with-powershell/</link>
		<comments>http://siliconpizza.com/blog/2011/01/25/asp-net-trust-settings-with-powershell/#comments</comments>
		<pubDate>Tue, 25 Jan 2011 13:22:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[.Net]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://siliconpizza.com/?p=329</guid>
		<description><![CDATA[Been working on various web server build script for IIS7 in Powershell most of it was VERY easy and more then wel document on the internet, but managing the ASP.NET trusts, but editing the .net web.config file was a bit more tricky by glueing some code from here and here i managed to create the follwing [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=8cc0ef4416d627c65d4771f7e5701b17&amp;default=' alt='No Gravatar' width=40 height=40/><p>Been working on various web server build script for IIS7 in Powershell</p>
<p>most of it was VERY easy and more then wel document on the internet, but managing the ASP.NET trusts, but editing the .net web.config file was a bit more tricky</p>
<p>by glueing some code from<a href="http://www.codeproject.com/KB/install/DeploySite.aspx" target="_blank"> here </a>and <a href="http://powershell.com/cs/blogs/ebook/archive/2009/03/30/chapter-14-xml.aspx#adding-new-nodes" target="_blank">here</a> i managed to create the follwing code</p>
<p>Which assign FULL trust for web site ID 2 for 64 bit V2 .net framework, i am sure anyone can now tweak to suite there own requirements</p>
<p><span id="more-329"></span></p>
<blockquote><p>$webConfigPath = &#8220;C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG\web.config&#8221;<br />
$currentDate = (get-date).tostring(&#8220;mm_dd_yyyy-hh_mm_s&#8221;) # month_day_year &#8211; hours_mins_seconds<br />
$backup = $webConfigPath + &#8220;_$currentDate<br />
# Get the content of the config file and cast it to XML and save a backup copy labeled .bak followed by the date<br />
$xml = [xml](get-content $webConfigPath)<br />
#save a backup copy <br />
$xml.Save($backup)<br />
#this was the trick I had been looking for<br />
$root = $xml.get_DocumentElement();<br />
#add node for automation web site<br />
$newlocation = $xml.CreateElement(&#8220;location&#8221;)<br />
$newlocation.SetAttribute(&#8220;Path&#8221;, &#8220;2&#8243;)<br />
$newlocation.SetAttribute(&#8220;allowOverride&#8221;, &#8220;false&#8221;)<br />
$newlocation.set_InnerXML(&#8220;&lt;system.web&gt;&lt;trust level=&#8221;"Full&#8221;" originUrl=&#8221;"&#8221;" /&gt;&lt;/system.web&gt;&#8221;)<br />
$root.AppendChild($newlocation)<br />
# Save it <br />
$xml.Save($webConfigPath)</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://siliconpizza.com/blog/2011/01/25/asp-net-trust-settings-with-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress MU on IIS7 POC</title>
		<link>http://siliconpizza.com/blog/2008/07/01/wordpress-mu-on-iis7-poc/</link>
		<comments>http://siliconpizza.com/blog/2008/07/01/wordpress-mu-on-iis7-poc/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 09:08:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Mod_Rewrite]]></category>
		<category><![CDATA[URL_ReWrite]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://siliconpizza.com/?p=267</guid>
		<description><![CDATA[This Blogging Platform is built on WordPress MU, WordPress MU is slightly different to WordPress in that it has support for multiple independent blogs on top of a single user database, when running in folder per blog mode WordPress MU is totally dependent on the apache MOD-ReWrite feature to rebuild URL in the fly. This [...]]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=8cc0ef4416d627c65d4771f7e5701b17&amp;default=' alt='No Gravatar' width=40 height=40/><p>This Blogging Platform is built on WordPress MU, WordPress MU is slightly different to WordPress in that it has support for multiple independent blogs on top of a single user database, when running in folder per blog mode WordPress MU is totally dependent on the apache MOD-ReWrite feature to rebuild URL in the fly. This is a feature that has been missing from IIS until now, Microsoft have released, albeit CTP1 at the moment, a<a href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;g=6&amp;i=1691"> URL rewrite module for IIS7</a>.</p>
<p>WordPress and WordPress MU can also use url-rewrite to create “friendly” permalinks</p>
<p>Well I did it, installed a copy of WordPress MU on IIS7 in folder per blog mode</p>
<ul>
<li>Server 2008 enterprise</li>
<li>IIS7 URL-ReWrite CTP1</li>
<li> WordPress MU 1.5.1</li>
<li> mysql-5.1.25-rc-win32</li>
<li> ZendCore-2.5.0-Windows-x86</li>
</ul>
<p>Using the URL-Write Module and some help from IIS.net, it was fairly straight forward; URL-ReWrite is still in CTP1 and has a few known issues. For instance the import wizard correctly identifies the  [L] parameter in .htaccess and create the correct XML, but the ”stopProcessing” attribute does not get copied to the web.config file and the ReWritecondition flag created a NEW rule with no action , rather than apply the condition to the next rule.</p>
<p>So after a bit of fiddling and some help from <a href="http://forums.iis.net/t/1150095.aspx">IIS.NET </a>I got it all working including CSS and themes for folder based blogs.<br />
The Only issue I did not fix was an issue with ONE of the CSS files which controls the layout of the TOP of the admin pages,</p>
<p>SORTED !!!!!!!!!!</p>
<p>Just so i dont lose it the <a href="http://siliconpizza.com/docs/web.zip">web.config file is here</a></p>
<p><a href="http://learn.iis.net/page.aspx/466/enabling-pretty-permalinks-in-wordpress">And dont forget the rewrite server variable fix too</a></p>
<p> </p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://siliconpizza.com/blog/2008/07/01/wordpress-mu-on-iis7-poc/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WordPress on IIS7</title>
		<link>http://siliconpizza.com/blog/2008/01/14/wordpress-on-iis7/</link>
		<comments>http://siliconpizza.com/blog/2008/01/14/wordpress-on-iis7/#comments</comments>
		<pubDate>Mon, 14 Jan 2008 16:52:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Opensource]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[IIS7]]></category>

		<guid isPermaLink="false">http://siliconpizza.com/blog/2008/01/14/wordpress-on-iis7/</guid>
		<description><![CDATA[This make an intersting read HOW TO: wordpress on IIS7 with some extras too http://mvolo.com/blogs/serverside/archive/2007/08/12/IIS-Authentication-plugin-for-the-WordPress-PHP-blogging-engine.aspx]]></description>
			<content:encoded><![CDATA[<img style='float: left; margin-right: 10px; border: none;' src='http://www.gravatar.com/avatar.php?gravatar_id=8cc0ef4416d627c65d4771f7e5701b17&amp;default=' alt='No Gravatar' width=40 height=40/><p>This make an intersting read</p>
<p>HOW TO: wordpress on IIS7 with some extras too</p>
<p><a href="http://mvolo.com/blogs/serverside/archive/2007/08/12/IIS-Authentication-plugin-for-the-WordPress-PHP-blogging-engine.aspx">http://mvolo.com/blogs/serverside/archive/2007/08/12/IIS-Authentication-plugin-for-the-WordPress-PHP-blogging-engine.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://siliconpizza.com/blog/2008/01/14/wordpress-on-iis7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

