嗨,所以我正在设置Laravel,但它一直重定向到“哇,有些地方出了问题”。
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/myfolder/public"
ServerName ron@gmail.com
ServerAlias l1.mysite.com
<Directory "C:/xampp/htdocs/laravel/laravel/public">
AllowOverride All
Order Allow,Deny
Allow from all
Require all granted
</Directory>
</VirtualHost>我的hosts文件中也有l1.mysite.com。在我的httpd.conf文件中,包含了“httpd rewrite_module模块/modrewrite.so”(没有#),也包含了我的httpd-vhosts.conf。感谢您的帮助。
发布于 2014-01-25 05:16:06
如果你得到的是Whoops: Something went wrong,这意味着PHP实际上是正确的,而你的vhost可能不是问题所在。您得到的错误消息是什么?
您可能需要:
PHP确保您已经安装了依赖项(如注释中所述)或composer update
app/storage目录(和子目录)可由
发布于 2015-01-31 01:15:42
将app.php中的debug设置为true,即打开app/config/app.php并将debug =>的值更改为true。你就会知道到底哪里出了问题。
https://stackoverflow.com/questions/21338126
复制相似问题