Help translating .htaccess to web.config url rewrite

What would this rewrite rule from .htaccess translate to IIS7 web.config?

RewriteRule .* index.php/$0 [PT,L]

Answers


Can't test it right now but hopefully

<rewrite>
  <rules>
    <rule name="some unnamed rule" stopProcessing="true">
      <match url="^.*$" />
      <action type="Rewrite" url="index.php/{R:0}" />
    </rule>
  </rules>
</rewrite>

isn't too wrong...


Need Your Help

Workaround for inheriting from sealed derived class?

c# oop inheritance

I want to derive from a derived class SealedDerived but I can't because the class is sealed. If I instead derive from the base class Base, is there any way I can "cheat" and redirect the this refer...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.