Apache error

Hello

After upgrade to new version of dolibarr , message:
* Starting web server apache2
Syntax error on line 26 of /etc/apache2/conf.d/dolibarr.conf:
Invalid command ‘<IfVersion’, perhaps misspelled or defined by a module not included in the server configuration
Action ‘start’ failed.

Please help

Best Regards

What OS version?
What apache2 version?

Best regards

Thanks for our prompt reply.

OS Ubuntu server 12.04 actualised, with Webmin
Apache 2.2.22
Dilibarr version 3.8.3-3

Best Regards

I’m on Ubuntu too - albeit (there) on Dolibarr 3.8.0

root@pag-a52f:/home/pag# ls -l  /etc/apache2/conf.d/dolibarr.conf
ls: cannot access /etc/apache2/conf.d/dolibarr.conf: No such file or directory
root@pag-a52f:/home/pag# uname -a
Linux pag-a52f 3.2.0-97-generic-pae #137-Ubuntu SMP Thu Dec 17 21:37:53 UTC 2015 i686 i686 i386 GNU/Linux
root@pag-a52f:/home/pag# apache2 -V
Server version: Apache/2.2.22 (Ubuntu)
Server built:   Jul 24 2015 17:25:42
Server's Module Magic Number: 20051115:30
Server loaded:  APR 1.4.6, APR-Util 1.3.12
Compiled using: APR 1.4.6, APR-Util 1.3.12
Architecture:   32-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT="/etc/apache2"
 -D SUEXEC_BIN="/usr/lib/apache2/suexec"
 -D DEFAULT_PIDLOG="/var/run/apache2.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="mime.types"
 -D SERVER_CONFIG_FILE="apache2.conf"

Because I don’t have your file it might have to do with your special apache2 setup.

How did you install Dolibarr? With the .deb package (eg. Ubuntu Software Center) or from .tgz manually?

Best regards

Maybe the problem is IN the ‘dolibarr.conf’ file?

Pls. remove the space between “allow, deny” and use

[code]
service apache2 restart[/code
from the terminal CLI.

Best regards