Apache Server configuration support - Refuse access by doc type

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > December 2005 > Refuse access by doc type





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Refuse access by doc type
Brian H供

2005-12-28, 7:55 am

apache 2.0.55 win32

I would like to be able to redirect unwanted scans/hits to pl and/or php
requests, would anyone be able to tell me what I need to enter in the
http.conf file please.

Also, has anyone come up with a throttle for 2.0.55 win32 yet?
thanks
Brian
Davide Bianchi

2005-12-28, 7:55 am

On 2005-12-28, Brian H供 <no.spam@no.spam.thank.you> wrote:
> I would like to be able to redirect unwanted scans/hits to pl and/or php
> requests,


Define what's for you an "unwanted" scans/hits.

Davide

--
Q: How do you make Windows run faster?
A: Throw it harder!
Brian H供

2005-12-28, 7:55 am

Davide Bianchi wrote:
> On 2005-12-28, Brian H供 <no.spam@no.spam.thank.you> wrote:
>
>
>
> Define what's for you an "unwanted" scans/hits.
>
> Davide
>


Any request for pl or php, as I don't serve either of these docs and am
getting hundreds of hits for stats etc.
Davide Bianchi

2005-12-28, 7:55 am

On 2005-12-28, Brian H供 <no.spam@no.spam.thank.you> wrote:
> Any request for pl or php, as I don't serve either of these docs and am
> getting hundreds of hits for stats etc.


Then I suggest you block the IPs from which the requests are originating
using your firewall, redirecting the request won't do any good: you are
still receiving the hits and processing the results.

Anyway, you should be able to get out using a simple

RedirectMatch ^*.php$ ...wheredoyouwanttoredirecthem
RedirectMatch ^*.pl$ ...wheredoyouwanttoredirecthem

Davide

--
Linux: the operating system with a CLUE... Command Line User Environment
Brian H供

2005-12-28, 9:01 pm

Davide Bianchi wrote:
> On 2005-12-28, Brian H供 <no.spam@no.spam.thank.you> wrote:
>
>
>
> Then I suggest you block the IPs from which the requests are originating
> using your firewall, redirecting the request won't do any good: you are
> still receiving the hits and processing the results.
>
> Anyway, you should be able to get out using a simple
>
> RedirectMatch ^*.php$ ...wheredoyouwanttoredirecthem
> RedirectMatch ^*.pl$ ...wheredoyouwanttoredirecthem
>
> Davide
>


Thank you
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com