Submitted by bjornhij on Thu, 01/14/2016 - 04:26 Pro Licensee
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
Submitted by andreychek on Thu, 01/14/2016 - 10:02 Comment #1
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.
Submitted by bjornhij on Thu, 01/14/2016 - 14:27 Pro Licensee Comment #2
That was the issue! I restored from an old CentOS installation. Thx!
Submitted by andreychek on Thu, 01/14/2016 - 14:53 Comment #3
Great, I'm glad that resolved the issue you're seeing!