Page 1 of 1

apache config nolonger working

Posted: Fri Jul 08, 2016 4:23 pm
by mister_v
Hi,

I have a problem with the config-file of one of my virtual sites:

Code: Select all

Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
 * ERROR: apache2 failed to start
It used to work, I didn't change anything in this file.

Re: apache config nolonger working

Posted: Fri Jul 08, 2016 5:45 pm
by chris
You probably upgraded apache from 2.2 to 2.4.
"Order" and "Allow" have to be rewritten.

in 2.2:

Code: Select all

Order allow,deny
Allow from all
in 2.4:

Code: Select all

Require all granted