简体   繁体   中英

What is the use of web.config file in side of Laravel public folder

  • Once we type the www.domain_name.com/web.config in the browser it downloading the web.config file.

  • Is there any vulnerability and what is the use of web.config file in side of Laravel public folder?

The web.config file is used by IIS which is the webserver software from Microsoft. It is basically the .htaccess of the Microsoft ecosystem which together with the rewrite plugin mentioned in the file used to make the pretty urls work under IIS.

There is no harm in having it but no harm in removing it too if you are not using IIS for serving your application.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM