【发布时间】:2016-04-19 10:42:32
【问题描述】:
我在 debian 7.5 上部署 laravel 5 项目时需要帮助,我不确定问题出在哪里。 我的主机配置如下:
<VirtualHost *:80>
ServerName stockhit.com
ServerAdmin webmaster@localhost
DocumentRoot /var/www/stockhitsite/public
ErrorLog ${APACHE_LOG_DIR}/stockhiterror.log
CustomLog ${APACHE_LOG_DIR}/stockhitaccess.log combined
<Directory /var/www/stockhitsite/public>
DirectoryIndex index.php
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
当我通过 url 访问该站点时,默认的 laravel 欢迎页面不显示,实际上,它显示了 /public/index.php 文件的内容 请帮帮我,我被困在这里好几天了,在此先感谢。
【问题讨论】: