Drupal安装出现的Internal Server Error 500错误解决

今天安装drupal时出现一个很棘手的问题,就是放在服务器上出现500错误,错误如下:

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.

经过定位发现是.htaccess的问题。

解决办法如下: 在.htaccess里去掉如下内容:

# Set some options.

Options -Indexes

Options +FollowSymLinks

# Set the default handler.

DirectoryIndex index.php

另外出现图片显示不出来的问题,同样也是.htaccess的问题。

sites/all/www.yourwebsite.com/file/.htaccess。

可参照:http://drupal.org/node/31725

博客分类: 
Total votes: 898

添加新评论