A client has a server with Windows Server 2008 installed, running IIS 7.5 and ISAPI 3 (TASK hosting).

I needed to put a Laravel project running his server, and the problem was the rewrite needed for the framework. How I would do the htaccess from Laravel work on IIS?

Before continuing the explanation, read the conceptual part I did over IIS on this post:

CakePHP on IIS 7.5

The configuration I did on web.config is as follows:


The Handlers part, that quotes GET, POST, PUT and DELETE methods, is to enable them on the project, allowing to use them on the code.

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.