2014-11-05 43 views
0

我試圖在Ubuntu上我的Apache服務器上啓用SSL,但是當我重新啓動Apache服務器時,它顯示了以下錯誤:如何在Ubuntu上的Apache上配置SSL?

Syntax error on line 3 of /etc/apache2/sites-enabled/000-default: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration Action 'configtest' failed.

回答

1

即抱怨mod_rewrite的不是你的SSL證書。

嘗試

sudo a2enmod rewrite 
sudo service apache2 restart