doubiaokai4998 2013-06-06 20:18
浏览 27
已采纳

使用laravel访问公用文件夹时出现问题

I'm a beginner when it comes to this laravel but having a hard time trying to get going. Basically I've installed laravel but I have a problem when it comes to accessing the public folder. I'm using MAMP and currently have my laravel folder inside htdocs

//Applications/MAMP/htdocs/learning-laravel

I've given permissions to the folder 'public' (chmod 777 public) and 'storage' with no luck. I've tried to make a Virtual Host with the http.conf file with no luck. Here is the error I'm getting below.

The website encountered an error while retrieving http://instapics.com:8888/learning-laravel/public/. It may be down for maintenance or configured incorrectly.

Not really sure where to go from here as I've been trying at this for 2 days now.

  • 写回答

1条回答 默认 最新

  • doudou0612 2013-06-17 22:44
    关注

    If you are running it locally with MAMP, it's most likely not a permission error. You should be able to access it with the url:

    localhost:8888/learning-laravel/

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 关于#python#的问题,请各位专家解答!
  • ¥15 对于这个问题的解释说明
  • ¥200 询问:python实现大地主题正反算的程序设计,有偿
  • ¥15 smptlib使用465端口发送邮件失败
  • ¥200 总是报错,能帮助用python实现程序实现高斯正反算吗?有偿
  • ¥15 对于squad数据集的基于bert模型的微调
  • ¥15 为什么我运行这个网络会出现以下报错?CRNN神经网络
  • ¥20 steam下载游戏占用内存
  • ¥15 CST保存项目时失败
  • ¥20 java在应用程序里获取不到扬声器设备