apache config nolonger working

Questions related to the Apache server
Post Reply
mister_v
Posts: 188
Joined: Thu Mar 04, 2010 9:19 pm

apache config nolonger working

Post 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.
chris
Site Admin
Posts: 194
Joined: Mon Jul 21, 2008 9:52 am

Re: apache config nolonger working

Post 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
Post Reply