snipe-it
snipe-it copied to clipboard
snipe-it。 已搭建完毕,但是.env文件问题
报错信息:
| Config File | Please make sure your .env is not readable by the outside world via web browser. You don't ever want anyone able to see that file. Ever. Ever ever. An exposed .env file can disclose sensitive data about your system and database. Click here to check now (This should return a file not found or forbidden error.) | |
|---|---|---|
| 改了.env的权限 711 700 744 611 755各种,但是还是没有用。 |
[root@localhost snipeit]# chown -R www:www storage public/uploads [root@localhost snipeit]# chmod -R 755 storage public/uploads
哥们,照我这个改文件夹下面的目录权限。
Check your VirtualHost settings in your Apache configuration file. Check Directory and Document Root. It should direct to Public folder in your Snipe IT folder.
I also encountered this problem during the deployment process. Could you please tell me how you solved it?