Istnieje kilka dodatkowych odcinków, które warto umieszczenie w internecie. plik konfiguracyjny
Poniższy kod umożliwia tworzenie restfull kontrolerów za pomocą dodatkowych czasowników HTTP PUT i DELETE oraz s dla niestandardowych stron błędów laravel, który ma być wyświetlany podczas remotley debugowania serwera:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Laravel4" stopProcessing="true">
<match url="^" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
</conditions>
<action type="Rewrite" url="index.php" appendQueryString="true" />
</rule>
</rules>
</rewrite>
<handlers>
<remove name="PHP53_via_FastCGI" />
<add name="PHP53_via_FastCGI" path="*.php" verb="GET,HEAD,POST,PUT,DELETE" modules="FastCgiModule" scriptProcessor="C:\Program Files (x86)\PHP\v5.3\php-cgi.exe" resourceType="Either" requireAccess="Script" />
</handlers>
<httpErrors errorMode="Detailed" />
</system.webServer>
</configuration>
bardzo przydatne, dzięki. –
@jcadiz, jak dodać ten kod i gdzie w miejscu publicznym lub w htacess. Proszę pomóż –