Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"The resource you are looking for has been removed, had its name changed, or is temporarily unavailable" Laravel on Azure

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

like image 627
Thabet Avatar asked Aug 31 '25 02:08

Thabet


2 Answers

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>
like image 145
Thabet Avatar answered Sep 02 '25 15:09

Thabet


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

like image 45
AWS PS Avatar answered Sep 02 '25 17:09

AWS PS