加载资产文件时发生Laravel NotFoundHttpException
在加载资产文件映像时,我在Laravel5.2上遇到了一个奇怪的问题。在浏览器上指定图像的绝对路径时,我收到一个错误:加载资产文件时发生Laravel NotFoundHttpException,laravel,laravel-5,Laravel,Laravel 5,在加载资产文件映像时,我在Laravel5.2上遇到了一个奇怪的问题。在浏览器上指定图像的绝对路径时,我收到一个错误: NotFoundHttpException in RouteCollection.php line 161: 权限已设置,并且.htaccess文件是标准文件。当我访问“图像文件”文件夹时,所有文件都会显示 例如: domain.com/images/ : this lists all the images in the folder
NotFoundHttpException in RouteCollection.php line 161:
权限已设置,并且.htaccess文件是标准文件。当我访问“图像文件”文件夹时,所有文件都会显示
例如:
domain.com/images/ : this lists all the images in the folder
domain.com/images/image.png : I get the NotFoundHttpException
是否存在问题?刚刚解决了问题,这是一个用户权限问题: chown-R user:usergroup文件夹/*已修复