you can tell apache to get any request ending with .php and return 404 from
apache without passing the request to django
you could return something else like 403 and ban the ip for some time

On Tue, Jan 20, 2015 at 1:55 PM, hinnack <[email protected]> wrote:

> Hi,
>
> I get a lot of intrusion checks on my website - especially for PHP
> (wordpress, joomla, …).
> Today they all raise a 404 errors in python-django - so if you have emails
> enabled for 404 errors…
>
> What is the best way to block those requests in a standard apache
> deployment?
> ( https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/modwsgi/ )
>
> regards
>
> Hinnack
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/6ae3fac4-4de2-4b26-8fce-aafb84c6a01a%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/6ae3fac4-4de2-4b26-8fce-aafb84c6a01a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWa6tLK5_v3u5TVosTcdTKd5xumbVVm1oxLjrnJ%2BXdgu5LjcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to