Re: mod_security2 and python app

Osama Elnaggar <[email protected]>
Newsgroups gmane.comp.apache.mod-security.user
Message-ID <CACva_gGir6rXaNDV2=NCXjiwPEeLpw6hfSAMV361d+VBvY8K2A@mail.gmail.com>
How is your Python web application published?  I'm guessing through
Gunicorn or some other WSGI HTTP server, in which case you would to
configure Apache to act as a reverse proxy to Gunicorn and make requests go
through Apache instead of going directly to Gunicorn

-- 
Osama Elnaggar

On October 4, 2019 at 11:52:48 AM, Eli Agbayani ([email protected])
wrote:

Dear [email protected],

I've recently installed mod_security2 in Rhel.
Followed this
<https://tecadmin.net/install-modsecurity-with-apache-on-centos-rhel/>
instructions and it worked great.
Most of the websites in the machine instantly detects and reinforces the
security measures of mod_security2.
Unfortunately there is one application, CKAN <https://ckan.org/> which is a
python application that is not affected by mod_security.
How can I make this python application detect mod_security so that website
can also be protected from attacks.
I can send my CKAN apache conf file if needed.

Thanks,
Eli Agbayani
_______________________________________________
mod-security-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mod-security-users
Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs:
http://www.modsecurity.org/projects/commercial/rules/
http://www.modsecurity.org/projects/commercial/support/

_______________________________________________
mod-security-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mod-security-users
Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs:
http://www.modsecurity.org/projects/commercial/rules/
http://www.modsecurity.org/projects/commercial/support/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.