[英]Deploy Laravel application only using FTP
I have finished a Laravel application and uploaded it using FTP but can't get it to work even after following multiple tutorials. 我已经完成了Laravel应用程序,并使用FTP上传了它,但是即使遵循了多个教程,也无法使它正常工作。
I can access the frontpage but when i go deeper like /login it gives an 500 internal server error. 我可以访问首页,但是当我更深入地使用/ login时,它会显示500个内部服务器错误。 I can access /index.php/login but without css and bootstrap. 我可以访问/index.php/login但没有CSS和引导程序。
I have.. 我有..
Would appreciate if someone know what i'm doing wrong or a fix! 如果有人知道我在做什么错或解决问题,将不胜感激!
if you are using apache webserver you should enable mod_rewrite module . 如果您使用的是Apache Web服务器,则应启用mod_rewrite模块。 in the .htaccess 在.htaccess中
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.