将“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
(默认)分支。我不知道怎么了。太感谢了!