因此,我创建了一个简单的mvc项目并上传到bluehost,但我有一个服务器错误问题,我猜是因为我的项目中的.htaccess
。如果在bluehost中启用mod_rewrite
,我已经做了一些调查,发现默认情况下它已启用。但我仍然得到服务器错误。我希望有人能帮助我,谢谢。Bluehost服务器错误500
这里我.htaccess
我的公共文件夹中:
RewriteEngine On
RewriteBase /streaming/public/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
这里是我的错误:
HTTP 500表示处理HTTP请求时发生错误。这个问题几乎可以肯定地用你的PHP代码,而不是用bluehost或.htaccess。 –
好的,谢谢。我会尝试检查index.php,看看是否有任何错误,谢谢。 – WilloPillow
你能看看PHP错误日志说什么吗? – kojow7