I have deployed my laravel app on azure web app when trying to access long URL I get this error
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Also, I edit my web.config and added these options
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="104857600" />
</requestFiltering>
</system.webServer>
But still not working
The issue has been solved by adding this section to my public/web.config
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxQueryString="32768"/>
</requestFiltering>
</security>
</system.webServer>
This should be your config for laravel
https://github.com/Azure-Samples/laravel-tasks/blob/master/public/web.config
also please note that the laravel index.php file is under public so you need to add public to the URL
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With