<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Web.Config to .htaccess in Archive</title>
    <link>https://business.forums.bt.com/t5/Archive/Web-Config-to-htaccess/m-p/47504#M14759</link>
    <description>&lt;P&gt;Can you help convert the web.config file to .htaccess?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;configuration&amp;gt;
    &amp;lt;system.webServer&amp;gt;
        &amp;lt;directoryBrowse enabled="false" /&amp;gt;
        &amp;lt;defaultDocument&amp;gt;
            &amp;lt;files&amp;gt;
                &amp;lt;clear /&amp;gt;
                &amp;lt;add value="index.php" /&amp;gt;
            &amp;lt;/files&amp;gt;
        &amp;lt;/defaultDocument&amp;gt;
		&amp;lt;rewrite&amp;gt;
            &amp;lt;rules&amp;gt;
                &amp;lt;rule name="Sitemap"&amp;gt;
                  &amp;lt;match url="^sitemap.xml" /&amp;gt;
                   &amp;lt;conditions&amp;gt;
                       &amp;lt;add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /&amp;gt;
                       &amp;lt;add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /&amp;gt;
                   &amp;lt;/conditions&amp;gt;
                &amp;lt;action type="Rewrite" url="/sitemap/sitemap.php" /&amp;gt;
                &amp;lt;/rule&amp;gt;
				&amp;lt;rule name="Index"&amp;gt;
                  &amp;lt;match url="^(.*)?$" /&amp;gt;
                   &amp;lt;conditions&amp;gt;
                       &amp;lt;add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /&amp;gt;
                       &amp;lt;add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /&amp;gt;
                   &amp;lt;/conditions&amp;gt;
                &amp;lt;action type="Rewrite" url="index.php/{R:1}" /&amp;gt;
                &amp;lt;/rule&amp;gt;
			&amp;lt;/rules&amp;gt;
		&amp;lt;/rewrite&amp;gt;
    &amp;lt;/system.webServer&amp;gt;
&amp;lt;/configuration&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thanks&lt;/P&gt;&lt;DIV&gt;&lt;IMG src="http://imagicon.info/cat/12-1/text-smiley.png" /&gt;&lt;/DIV&gt;</description>
    <pubDate>Sat, 17 Nov 2012 09:09:22 GMT</pubDate>
    <dc:creator>abirhasan</dc:creator>
    <dc:date>2012-11-17T09:09:22Z</dc:date>
    <item>
      <title>Web.Config to .htaccess</title>
      <link>https://business.forums.bt.com/t5/Archive/Web-Config-to-htaccess/m-p/47504#M14759</link>
      <description>&lt;P&gt;Can you help convert the web.config file to .htaccess?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;configuration&amp;gt;
    &amp;lt;system.webServer&amp;gt;
        &amp;lt;directoryBrowse enabled="false" /&amp;gt;
        &amp;lt;defaultDocument&amp;gt;
            &amp;lt;files&amp;gt;
                &amp;lt;clear /&amp;gt;
                &amp;lt;add value="index.php" /&amp;gt;
            &amp;lt;/files&amp;gt;
        &amp;lt;/defaultDocument&amp;gt;
		&amp;lt;rewrite&amp;gt;
            &amp;lt;rules&amp;gt;
                &amp;lt;rule name="Sitemap"&amp;gt;
                  &amp;lt;match url="^sitemap.xml" /&amp;gt;
                   &amp;lt;conditions&amp;gt;
                       &amp;lt;add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /&amp;gt;
                       &amp;lt;add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /&amp;gt;
                   &amp;lt;/conditions&amp;gt;
                &amp;lt;action type="Rewrite" url="/sitemap/sitemap.php" /&amp;gt;
                &amp;lt;/rule&amp;gt;
				&amp;lt;rule name="Index"&amp;gt;
                  &amp;lt;match url="^(.*)?$" /&amp;gt;
                   &amp;lt;conditions&amp;gt;
                       &amp;lt;add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /&amp;gt;
                       &amp;lt;add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /&amp;gt;
                   &amp;lt;/conditions&amp;gt;
                &amp;lt;action type="Rewrite" url="index.php/{R:1}" /&amp;gt;
                &amp;lt;/rule&amp;gt;
			&amp;lt;/rules&amp;gt;
		&amp;lt;/rewrite&amp;gt;
    &amp;lt;/system.webServer&amp;gt;
&amp;lt;/configuration&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thanks&lt;/P&gt;&lt;DIV&gt;&lt;IMG src="http://imagicon.info/cat/12-1/text-smiley.png" /&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 17 Nov 2012 09:09:22 GMT</pubDate>
      <guid>https://business.forums.bt.com/t5/Archive/Web-Config-to-htaccess/m-p/47504#M14759</guid>
      <dc:creator>abirhasan</dc:creator>
      <dc:date>2012-11-17T09:09:22Z</dc:date>
    </item>
  </channel>
</rss>

