<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>PHP Community</title><link>http://forums.iis.net/1102.aspx</link><description>A forum for the PHP community running on IIS</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Htaccess in IIS</title><link>http://forums.iis.net/thread/1909053.aspx</link><pubDate>Thu, 02 Jul 2009 17:40:48 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1909053</guid><dc:creator>iis_usr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1909053.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1102&amp;PostID=1909053</wfw:commentRss><description>&lt;p&gt;I see my thread was moved, this really isn&amp;#39;t a PHP problem however; it&amp;#39;s an IIS issue. IIS has the ability to translate some Apache htaccess functions, an issue that has probably been discussed here in depth within other forum areas.&lt;/p&gt;
&lt;p&gt;The htaccess function I&amp;#39;m trying to recreate is not one that&amp;#39;s been discussed before. Moderators, can we move this thread to an appropriate forum? This is an IIS configuration issue, thanks.&lt;/p&gt;</description></item><item><title>Re: Htaccess in IIS</title><link>http://forums.iis.net/thread/1909011.aspx</link><pubDate>Thu, 02 Jul 2009 14:20:46 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1909011</guid><dc:creator>Rovastar</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1909011.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1102&amp;PostID=1909011</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I don&amp;#39;t know of anything that in IIS/windows so you can have a challenge for an extension.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Htaccess in IIS</title><link>http://forums.iis.net/thread/1908919.aspx</link><pubDate>Wed, 01 Jul 2009 21:34:26 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1908919</guid><dc:creator>iis_usr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1908919.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1102&amp;PostID=1908919</wfw:commentRss><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;I have a website that&amp;#39;s recently been migrated from
Linux/Apache to Windows/IIS. It&amp;#39;s a rather basic php/mysql system and
we&amp;#39;ve only encountered one issue so far.&lt;br /&gt;&lt;br /&gt;This site has a
members-only directory which requires a login (handled by php) for
access. When the site was developed, a .htaccess file was used to limit
access to items in that folder. Basically the .htaccess file instructed
the web server to require users to login through auth.php when they
attempted to access files with a certain extention.&lt;br /&gt;&lt;br /&gt;Here is a copy of the .htaccess file:&lt;/p&gt;
&lt;p&gt;--- begin ---&lt;/p&gt;
&lt;p&gt;AddHandler admin .jpg&lt;br /&gt;AddHandler admin .gif&lt;br /&gt;AddHandler admin .png&lt;br /&gt;AddHandler admin .tiff&lt;br /&gt;AddHandler admin .bmp&lt;br /&gt;AddHandler admin .txt&lt;br /&gt;AddHandler admin .rtf&lt;br /&gt;AddHandler admin .doc&lt;br /&gt;AddHandler admin .docx&lt;br /&gt;AddHandler admin .docm&lt;br /&gt;AddHandler admin .dotx&lt;br /&gt;AddHandler admin .dotm&lt;br /&gt;AddHandler admin .xls&lt;br /&gt;AddHandler admin .xlsx&lt;br /&gt;AddHandler admin .xlsm&lt;br /&gt;AddHandler admin .xltx&lt;br /&gt;AddHandler admin .xltm&lt;br /&gt;AddHandler admin .xlsb&lt;br /&gt;AddHandler admin .xlam&lt;br /&gt;AddHandler admin .ppt&lt;br /&gt;AddHandler admin .pptm&lt;br /&gt;AddHandler admin .potx&lt;br /&gt;AddHandler admin .potm&lt;br /&gt;AddHandler admin .ppam&lt;br /&gt;AddHandler admin .ppsx&lt;br /&gt;AddHandler admin .ppsm&lt;br /&gt;AddHandler admin .pdf&lt;br /&gt;AddHandler admin .3gp&lt;br /&gt;AddHandler admin .asf&lt;br /&gt;AddHandler admin .asx&lt;br /&gt;AddHandler admin .avi&lt;br /&gt;AddHandler admin .mov&lt;br /&gt;AddHandler admin .mp4&lt;br /&gt;AddHandler admin .mpg&lt;br /&gt;AddHandler admin .qt&lt;br /&gt;AddHandler admin .rm&lt;br /&gt;AddHandler admin .swf&lt;br /&gt;AddHandler admin .wmv&lt;br /&gt;AddHandler admin .aac&lt;br /&gt;AddHandler admin .aif&lt;br /&gt;AddHandler admin .iff&lt;br /&gt;AddHandler admin .m3u&lt;br /&gt;AddHandler admin .mp3&lt;br /&gt;AddHandler admin .mpa&lt;br /&gt;AddHandler admin .ra&lt;br /&gt;AddHandler admin .ram&lt;br /&gt;AddHandler admin .wav&lt;br /&gt;AddHandler admin .wma&lt;br /&gt;AddHandler admin .zip&lt;br /&gt;&lt;br /&gt;Action admin /members-only/auth.php&lt;/p&gt;
&lt;p&gt;--- end ---&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve seen plenty of discussions around the &amp;#39;net which address
migrating a htaccess file to IIS; however, none of them address the
usage of AddHandler in a htaccess file.&lt;br /&gt;&lt;br /&gt;Would anyone here be
able to point me towards any method which would allow this very simple
system to continue working under IIS?&lt;br /&gt;&lt;br /&gt;Thanks!&lt;/p&gt;</description></item></channel></rss>