How to run laravel in root directory without the public folder?

前端 未结 3 452
借酒劲吻你
借酒劲吻你 2021-01-26 12:34

I am running the latest version of laravel on my own server running Debian and Apache2.

The contents of larave

3条回答
  •  醉话见心
    2021-01-26 12:49

    The following worked for me, as discussed here: https://stackoverflow.com/a/16569078/3091980

    Move all contents of the /public folder down a level. Then update the include lines in index.php to point to the correct location - if it's down a level, remove the "../".

提交回复
热议问题