Either all Options must start with + or -, or no Option may.

On a brand new Ubuntu 14.04.3 LTS install, new virtualservers are created with an incorrect Options line, which causes the following error on an apache restart:

Either all Options must start with + or -, or no Option may.

The incorrect line is:

Options Indexes IncludesNOEXEC SymLinksifOwnerMatch +ExecCGI

It is solved after a manual change to:

Options +Indexes +IncludesNOEXEC +SymLinksifOwnerMatch +ExecCGI

Apache is: Server version: Apache/2.4.7 (Ubuntu)

I'm running the most recent Virtualmin ( Virtualmin 5.0 (installed 12/Jan/2016))

Status: 
Active

Comments

Howdy -- yeah it definitely shouldn't be doing that in your case.

I don't imagine an older Virtualmin options archive was restored on this particular server? We occasionally see that as a cause of what you're seeing.

What you can do though is go into System Settings -> Server Templates -> Default -> Apache Website, and there, take a peek at the "Directives and settings for new websites" textbox.

In there, you should be able to correct the Options line that you're having problems with.

That was the issue! I restored from an old CentOS installation. Thx!

Great, I'm glad that resolved the issue you're seeing!