mod_csrfprotector
mod_csrfprotector copied to clipboard
Not working on Amazon Linux
Hi @mebjas,
I am getting an error when restarting apache after installing this module on Amazon Linux. Is this only supporting for Ubuntu?
[root@awsudquadapp02 conf]# service httpd restart Stopping httpd: [FAILED] Starting httpd: httpd: Syntax error on line 199 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_csrfprotector.so into server: /etc/httpd/modules/mod_csrfprotector.so: invalid ELF header [FAILED]
CC : @prithwirajsaha83
Well yes I have never tried on Amazon Linux. But if you wish to use it, I think we can debug and fix, it's linux anyway.
What version of Apache are you using here? Infact, share your overall environment details please.
Thanks for the prompt response. It would be great if you can debug and fix this for Amazon Linux. Bellow is the required info.
Apache/2.2.34 (Unix) Amazon Linux AMI release 2017.03 Linux 4.9.32-15.41.amzn1.x86_64 #1 SMP Thu Jun 22 06:20:54 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Let me know if you need any more information. CC : @prithwirajsaha83