Magento error Invalid command ‘

Invalid command ‘<IfVersion’, perhaps misspelled or defined by a module not included in the server configuration

The above error is due to missing mod_version which needs to be added in apache using easyapache

it was fixed once the mod_version module was added