$ service apache2 restart [fail]

apache, mod-rewrite

Solution

I had a similar problem, and for me it was about the logged in user not having privileges so instead of

service apache2 restart

I had to do

sudo service apache2 restart

Problem

I have installed Apache on my Ubuntu Server. For a special reason I have to enable mod_rewrite on it. So I have done this. And in every Tutorial on the internet the last command is to restart apache. But when I do this the console prints `[fail].` Can anyone help me here? ``` $ service apache2 restart * Restarting web server apache2 [fail] ```

Original source