0

将“Lumen 应用程序”部署到“子域”(Digital Ocean 上的 LAMP Ubuntu 14.04)时出现白屏 ( 500 Internal Server Error)。在本地环境中一切正常(XAMPP for Windows)。

我的.htaccess文件:

<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews
    </IfModule>

    RewriteEngine On

    # Redirect Trailing Slashes...
    RewriteRule ^(.*)/$ /$1 [L,R=301]

    # Handle Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
</IfModule>

编辑:

没有日志文件/storage/logs。我使用 Git 将项目拉入一个 sobdomain (没有日志文件 'cause .gitignore)。/storage拥有 0777 权限。

该项目位于 bitbucket:https ://bitbucket.org/adlnetworks/adl-notificaciones ( https://bitbucket.org/adlnetworks/adl-notificaciones.git )

请使用Develop(默认)分支。我不知道怎么了。太感谢了!

4

1 回答 1

0

一切正常,Lumen 默认支持子域。我忘记在生产服务器上安装作曲家依赖项。

问候。

于 2015-06-03T00:07:47.027 回答