I currently have been developing an application off line, using the php built in server. Ready to deploy to our IIS server. Search Laracasts and Stack Exchange, found several posts on doing so, but no matter what I try, I just get a plain while blank screen. No errors. No nothing. Only time I go any error was a RouteColletion error when the document root was set to c:\inpetpub\wwwroot\public and I tried opening v-webserver/public. Every other combo I tried, including adding the index.php file, ended in a blank screen.
The one thing that does differ from the instructions was that I did not "install" laravel using composer in my wwwroot folder, I copied my development folder over and changed the .env file accordingly. I dont think this should have caused any issues, but I am very new at Laravel.
I have:
- verified all my PHP settings (NTS version, extensions, etc. via phpinfo())
- created my web.config file from the existing .htaccess file I have been using
- gave full control to the IIS_IUSR user on the storage folder
I am out of options to try
Below is my web.config file:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Imported Rule 1" stopProcessing="true">
<match url="^(.*)/$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
</conditions>
<action type="Redirect" url="/{R:1}" redirectType="Permanent" />
</rule>
<rule name="Imported Rule 2" stopProcessing="true">
<match url="^" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="index.php" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1ikRFEG
via IFTTT
Aucun commentaire:
Enregistrer un commentaire