<?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>jesal gadhia &#187; iis</title>
	<atom:link href="http://jesal.us/tag/iis/feed/" rel="self" type="application/rss+xml" />
	<link>http://jesal.us</link>
	<description></description>
	<lastBuildDate>Fri, 19 Mar 2010 05:32:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How To Setup Pretty Premalinks for Wordpress on IIS7</title>
		<link>http://jesal.us/2009/06/pretty-premalinks-for-wordpress-on-iis7/</link>
		<comments>http://jesal.us/2009/06/pretty-premalinks-for-wordpress-on-iis7/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 02:58:36 +0000</pubDate>
		<dc:creator>J</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://jesal.us/blog/?p=152</guid>
		<description><![CDATA[If you&#8217;re running Wordpress on IIS7 like this blog and if you want clean URLs without the &#8220;index.php&#8221; you can do the following. 
Although before you get started you need to make sure you have FastCGI and URL Rewrite Module installed on your IIS7.
If you&#8217;re missing one of those things, you can check out these [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re running Wordpress on IIS7 like this blog and if you want clean URLs without the &#8220;index.php&#8221; you can do the following. </p>
<p>Although before you get started you need to make sure you have FastCGI and URL Rewrite Module installed on your IIS7.</p>
<p>If you&#8217;re missing one of those things, you can check out these guides:</p>
<p>- <a href="http://learn.iis.net/page.aspx/460/using-url-rewrite-module/" target="_blank">Using URL Rewrite Module</a><br />
- <a href="http://learn.iis.net/page.aspx/375/setting-up-fastcgi-for-php/" target="_blank">Setting up FastCGI for PHP</a></p>
<p>Once you&#8217;ve done that, go to the &#8220;Settings&#8221; section in your Wordpress admin area and click on &#8220;Premalinks&#8221;:</p>
<p><img src="http://jesal.us/wp-content/uploads/premalinks-1024x524.jpg" alt="premalinks" title="premalinks"/></p>
<p>On that page, choose the &#8220;Custom, specify below&#8221; option and enter<br />
&#8220;/%year%/%monthnum%/%postname%/&#8221; (or any other format of your choosing) in the &#8220;Custom structure&#8221; text box.</p>
<p>After you save the settings, you&#8217;ll notice that all your blog posts will have their URLs in the format you specified earlier. Although if you try to click on one of them you&#8217;ll get a 404 &#8211; File Not Found error. Thats because we still haven&#8217;t told the server where to go when it gets those requests. </p>
<p>To do so, you&#8217;ll have to create a Web.Config file (if you don&#8217;t have one already) in the same directory as your Wordpress blog. Once you&#8217;ve done that, paste the following inside configuration->system.webServer element:</p>
<pre>
&lt;rewrite&gt;
    &lt;rules&gt;
        &lt;rule name="Main Rule" stopProcessing="true"&gt;
            &lt;match url=".*" /&gt;
            &lt;conditions logicalGrouping="MatchAll"&gt;
                &lt;add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /&gt;
                &lt;add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /&gt;
            &lt;/conditions&gt;
            &lt;action type="Rewrite" url="index.php" /&gt;
        &lt;/rule&gt;
    &lt;/rules&gt;
&lt;/rewrite&gt;
</pre>
<p><a href="http://jesal.us/wp-content/uploads/web.config.txt" target="_blank">Click here</a> to download the entire Web.Config file.</p>
<p>That rewrite rule we added above will match any requested URL and if that URL does not corresponds to a file or a folder on a file system, then it will rewrite the URL to Index.php. At that point, WordPress will determine which content to serve based on the REQUEST_URI server variable that contains the original URL before it was modified by the rule.</p>
<p>After you&#8217;ve saved the Web.config file, fire up any one of the permalinks in your WordPress blog. If everything went as expected, you&#8217;ll see the correct content returned by the web server for every permalink.</p>
]]></content:encoded>
			<wfw:commentRss>http://jesal.us/2009/06/pretty-premalinks-for-wordpress-on-iis7/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How to setup an asp.net website on localhost</title>
		<link>http://jesal.us/2008/09/how-to-setup-an-aspnet-website-on-localhost/</link>
		<comments>http://jesal.us/2008/09/how-to-setup-an-aspnet-website-on-localhost/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 22:35:32 +0000</pubDate>
		<dc:creator>J</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[iis]]></category>

		<guid isPermaLink="false">http://jesal.us/blog/?p=95</guid>
		<description><![CDATA[First lets start by setting up the site in IIS&#8230;
1.Open IIS  by double-clicking on Control Panel->Administrative Tools->Internet Information Services
2.Right Click on Web Sites->Default Web Site
3.Click on Properties->Home Directory and choose the location of your website

Now lets give the ASPNET account the appropriate permissions to access that directory&#8230; 
4. Using My Computer or the Windows [...]]]></description>
			<content:encoded><![CDATA[<p><strong>First lets start by setting up the site in IIS&#8230;</strong></p>
<p>1.Open IIS  by double-clicking on <strong>Control Panel->Administrative Tools->Internet Information Services</strong></p>
<p>2.Right Click on <strong>Web Sites->Default Web Site</strong></p>
<p>3.Click on <strong>Properties->Home Directory</strong> and choose the location of your website<br />
<img src="http://jesal.us/wp-content/uploads/sc1.jpg" /></p>
<p><strong>Now lets give the ASPNET account the appropriate permissions to access that directory&#8230;</strong> </p>
<p>4. Using My Computer or the Windows Explorer, navigate to the folder containing the website you choose in the previous step </p>
<p>5. Right click on the folder and and go to <strong>Properties->Security</strong></p>
<p>5. On the Security tab, click on <strong>Add</strong> to locate the ASPNET account<br />
<img src="http://jesal.us/wp-content/uploads/sc2.jpg" /></p>
<p>6. Click on <strong>Locations</strong> and select the local machine<br />
<img src="http://jesal.us/wp-content/uploads/sc3.jpg" /></p>
<p>7. Click on <strong>Advanced->Find Now</strong> to list all the user accounts on your local machine<br />
<img src="http://jesal.us/wp-content/uploads/sc4.jpg" /></p>
<p>8. Choose <strong>ASPNET</strong> and click on OK. (If you don&#8217;t see ASPNET account in there, go to step 11)</p>
<p>9. Return to the security tab. Select the ASPNET user account and check the <strong>Full Control</strong> checkbox under the allow column. Click OK.<br />
<img src="http://jesal.us/wp-content/uploads/sc5.jpg" /></p>
<p>10. Thats it! You should now be able to go to http://localhost/ in your browser window and see your website.</p>
<p><strong>If you don&#8217;t see an ASP.NET account in Step 8 then&#8230;</strong></p>
<p>11. Run &#8220;<strong>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ aspnet_regiis.exe -i -enable</strong>&#8221; in the command line window and then repeat steps 1 through 10.</p>
<p><strong>Following steps are optional. They help you configure your web project to automatically reference the local web-server when you run or debug a site instead of launching the built-in web-server itself&#8230;</strong></p>
<p>12. Open Visual Studio and select your web-project in the solution explorer, right click and select <strong>Property pages</strong>.</p>
<p>13. Select the <strong>Start Options</strong> from the left navigation, and under <strong>Server</strong> change the radio button value from &#8216;Use default Web server&#8217; to <strong>&#8216;Use custom server&#8217;</strong>. Then set the Base URL value to be: http://localhost/<br />
<img src="http://jesal.us/wp-content/uploads/sc6.jpg" /></p>
<p>Now, when you click on any page in the app and then hit F5 or Ctrl-F5, the IDE will use the local web-server instead of popping up its own.</p>
]]></content:encoded>
			<wfw:commentRss>http://jesal.us/2008/09/how-to-setup-an-aspnet-website-on-localhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
