how to install mod_dosevassive in Fodera 1 DA server ?

hkivan

Verified User
Joined
Jul 2, 2004
Messages
83
Actually , i need to thank you so much Dr-Host first . HE has teach us how to install mod_dosevasive .

but The teaching step .. is not so clear . I still don't know how to install mod_dosevasive :confused:


----------------------------------------------------------------------
One Method :
if I'll copy the file to /usr/local/directadmin/customapache/src/modules/dosevasive/mod_dosevasive.c


and I add to configure.apache_ssl

the line --add-module=src/modules/dosevasive/mod_dosevasive.c

and I do ./build apache_mod_ssl

it will del the apache_1.3.31 folder and extract from the .tar.gz

Question : In this part , i don't know where should i add configure.apache_ssl , and which line shoud i add [ --add-module=src/modules/dosevasive/mod_dosevasive.c ]

---------------------------------------------------------------------------
Second Method :
a) backup your current httpd.conf file

b) use the following CMD to compile the mod ( it will generate a new httpd.conf file and it will add the mode lines in there )

/usr/sbin/apxs -iac mod_dosevasive.c

c) edit your httpd.conf file and add

<IfModule mod_dosevasive.c>
DOSHashTableSize 3097
DOSPageCount 2
DOSSiteCount 50
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 10
</IfModule>


Question : in part ( b ) , CMD = command propt ? :confused:

----------------------------------------------------------------------


But i am so exciting . i can hear some tips which for how to install mod_dosevasive ..... :D :D :D
Because it is very difficult to find the teaching material for this program .


It nice to have your idea .

Ivan
 
Last edited:
Back
Top