<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4051246002210914429</id><updated>2011-04-21T12:02:01.378-07:00</updated><category term='powershell iis7 log directory'/><category term='IIS7 http 301 redirect'/><title type='text'>Urban Element - www.urbanelement.com</title><subtitle type='html'>We are a talented, creative web design and website development company, producing professional cutting edge visual designs, which meet web standards.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://urbanelementuk.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4051246002210914429/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://urbanelementuk.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Urban Element</name><uri>http://www.blogger.com/profile/06875543440108651555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4051246002210914429.post-744464425420247776</id><published>2009-05-04T14:18:00.000-07:00</published><updated>2009-05-18T08:04:56.153-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IIS7 http 301 redirect'/><title type='text'>IIS7 - 301 redirect at the page level</title><content type='html'>In IIS6 redirecting individual pages properly (using a 301 redirect) was a little tedious, you had to create a physical page as a stub then poke around in the settings to forward requests on to the new location.&lt;br /&gt;&lt;br /&gt;IIS7 is a little easier, for those of you who are familiar already it won't suprise you that it's just another line in the good old web.config...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&amp;lt;location path="index2.html"&amp;gt;&lt;br /&gt;&amp;lt;system.webServer&amp;gt;&lt;br /&gt;&amp;lt;httpRedirect enabled="true" destination="Default.aspx" exactDestination="true" childOnly="true" httpResponseStatus="Permanent" /&amp;gt;&lt;br /&gt;&amp;lt;/system.webServer&amp;gt;&lt;br /&gt;&amp;lt;/location&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you place the above snippet inside the &lt;configuration&gt;tag for each file you wish to redirect, simple!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4051246002210914429-744464425420247776?l=urbanelementuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://urbanelementuk.blogspot.com/feeds/744464425420247776/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4051246002210914429&amp;postID=744464425420247776' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4051246002210914429/posts/default/744464425420247776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4051246002210914429/posts/default/744464425420247776'/><link rel='alternate' type='text/html' href='http://urbanelementuk.blogspot.com/2009/05/iis7-301-redirect-at-page-level.html' title='IIS7 - 301 redirect at the page level'/><author><name>Urban Element</name><uri>http://www.blogger.com/profile/06875543440108651555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4051246002210914429.post-1695493142439847312</id><published>2009-05-04T14:02:00.000-07:00</published><updated>2009-05-04T14:06:43.319-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='powershell iis7 log directory'/><title type='text'>IIS7 - Change Site Logs Location via Powershell</title><content type='html'>For anybody out there who just wants to know a simple line of Powershell to change the logging directory of an IIS7 website, here it is:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Set-ItemProperty 'IIS:\Sites\Default Web Site' -name logFile.directory -value 'D:\IISLogs'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;br /&gt;Enjoy...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4051246002210914429-1695493142439847312?l=urbanelementuk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://urbanelementuk.blogspot.com/feeds/1695493142439847312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4051246002210914429&amp;postID=1695493142439847312' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4051246002210914429/posts/default/1695493142439847312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4051246002210914429/posts/default/1695493142439847312'/><link rel='alternate' type='text/html' href='http://urbanelementuk.blogspot.com/2009/05/iis7-change-site-logs-location-via.html' title='IIS7 - Change Site Logs Location via Powershell'/><author><name>Urban Element</name><uri>http://www.blogger.com/profile/06875543440108651555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry></feed>
