goldeneyez
Verified User
- Joined
- Jun 26, 2008
- Messages
- 5
Hello,
I would like to add new module into Apache.
I found the following KB:
http://help.directadmin.com/item.php?id=50
The following is installed in the server:
Server Version: Apache/1.3.41 (Unix) mod_ssl/2.8.31 OpenSSL/0.9.7a PHP/4.4.9 mod_perl/1.29 FrontPage/5.0.2.2510
I insist to install the new module by means of customapache and not by DSO method
Please Assist me regarding that
The module which I would like to install is:
mod_evasive
So I have downloaded the file mod_evasive_1.10.1.tar.gz into /usr/local/directadmin/customapache
I have run the command tar xfz mod_evasive_1.10.1.tar.gz
and now I have a new directory:
/usr/local/directadmin/customapache/mod_evasive
I have the following file inside /usr/local/directadmin/customapache/mod_evasive:
[root@sharedlinux mod_evasive]# ls -la
total 116
drwxr-xr-x 2 root root 4096 Oct 8 2005 .
drwxr-xr-x 15 root root 4096 Nov 22 13:05 ..
-rw-r--r-- 1 root root 1373 Oct 8 2005 CHANGELOG
-rw-r--r-- 1 root root 26 Sep 2 2003 .cvsignore
-rw-r--r-- 1 root root 18103 Aug 30 2003 LICENSE
-rw-r--r-- 1 root root 470 Oct 8 2005 Makefile.tmpl
-rw-r--r-- 1 root root 18242 Oct 8 2005 mod_evasive20.c
-rw-r--r-- 1 root root 19395 Oct 8 2005 mod_evasive.c
-rw-r--r-- 1 root root 15621 Oct 8 2005 mod_evasiveNSAPI.c
-rw-r--r-- 1 root root 14269 Oct 8 2005 README
-rw-r--r-- 1 root root 406 Aug 30 2003 test.pl
Now, According to the KB (http://help.directadmin.com/item.php?id=50)
I need to add the follwoing row into configure.apache_ssl:
--with-module
I have the following questions:
1) what is the name of the module which I need to use (from where the name of the module is taken) ?
2) in case that the current configure.apache_ssl is:
#!/bin/sh
./configure \
--with-apache=../apache_1.3.41 \
--with-ssl=/usr \
--prefix=/etc/httpd \
--exec-prefix=/etc/httpd \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--sysconfdir=/etc/httpd/conf \
--enable-module=all \
--enable-module=ssl \
--enable-shared=max \
--enable-suexec \
--suexec-docroot=/ \
--suexec-caller=apache \
--suexec-userdir=public_html \
--includedir=/usr/include/apache \
--libexecdir=/usr/lib/apache \
--datadir=/var/www \
--iconsdir=/var/www/icons \
--htdocsdir=/var/www/html \
--manualdir=/var/www/html/manual \
--cgidir=/var/www/cgi-bin \
--localstatedir=/var \
--runtimedir=/var/run \
--logfiledir=/var/log/httpd \
--proxycachedir=/var/cache/httpd \
--with-perl=/usr/bin/perl \
--add-module=mod_frontpage.c \
--disable-module=auth_db --disable-module=auth_dbm
Then what is directory path where the mod evasive need to be saved ?
because now it's exist in the following path:
/usr/local/directadmin/customapache/mod_evasive
but when I will execute the following commands:
./build clean
./build apache_mod_ssl
then how apache will find the mod evasive files ?
So , probably the mod_evasive files need to be saved into differ directory rather then /usr/local/directadmin/customapache/mod_evasive
by the way , you must improve the KB http://help.directadmin.com/item.php?id=50
You need to explain the users where to save the new module and from where the name of the module is taken.
If this info would be in the KB then I wouldn't ask so much questions.
by the way,
HOW TO INSTALL mod_evasive according to the README file which exist inside mod_evasive gz package:
APACHE v1.3
-----------
Without DSO Support:
1. Extract this archive into src/modules in the Apache source tree
2. Run ./configure --add-module=src/modules/evasive/mod_evasive.c
3. make, install
4. Restart Apache
but I want to use the customapache method.
Please Assist me.
And I am thank you in Advacned.
I would like to add new module into Apache.
I found the following KB:
http://help.directadmin.com/item.php?id=50
The following is installed in the server:
Server Version: Apache/1.3.41 (Unix) mod_ssl/2.8.31 OpenSSL/0.9.7a PHP/4.4.9 mod_perl/1.29 FrontPage/5.0.2.2510
I insist to install the new module by means of customapache and not by DSO method
Please Assist me regarding that
The module which I would like to install is:
mod_evasive
So I have downloaded the file mod_evasive_1.10.1.tar.gz into /usr/local/directadmin/customapache
I have run the command tar xfz mod_evasive_1.10.1.tar.gz
and now I have a new directory:
/usr/local/directadmin/customapache/mod_evasive
I have the following file inside /usr/local/directadmin/customapache/mod_evasive:
[root@sharedlinux mod_evasive]# ls -la
total 116
drwxr-xr-x 2 root root 4096 Oct 8 2005 .
drwxr-xr-x 15 root root 4096 Nov 22 13:05 ..
-rw-r--r-- 1 root root 1373 Oct 8 2005 CHANGELOG
-rw-r--r-- 1 root root 26 Sep 2 2003 .cvsignore
-rw-r--r-- 1 root root 18103 Aug 30 2003 LICENSE
-rw-r--r-- 1 root root 470 Oct 8 2005 Makefile.tmpl
-rw-r--r-- 1 root root 18242 Oct 8 2005 mod_evasive20.c
-rw-r--r-- 1 root root 19395 Oct 8 2005 mod_evasive.c
-rw-r--r-- 1 root root 15621 Oct 8 2005 mod_evasiveNSAPI.c
-rw-r--r-- 1 root root 14269 Oct 8 2005 README
-rw-r--r-- 1 root root 406 Aug 30 2003 test.pl
Now, According to the KB (http://help.directadmin.com/item.php?id=50)
I need to add the follwoing row into configure.apache_ssl:
--with-module
I have the following questions:
1) what is the name of the module which I need to use (from where the name of the module is taken) ?
2) in case that the current configure.apache_ssl is:
#!/bin/sh
./configure \
--with-apache=../apache_1.3.41 \
--with-ssl=/usr \
--prefix=/etc/httpd \
--exec-prefix=/etc/httpd \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--sysconfdir=/etc/httpd/conf \
--enable-module=all \
--enable-module=ssl \
--enable-shared=max \
--enable-suexec \
--suexec-docroot=/ \
--suexec-caller=apache \
--suexec-userdir=public_html \
--includedir=/usr/include/apache \
--libexecdir=/usr/lib/apache \
--datadir=/var/www \
--iconsdir=/var/www/icons \
--htdocsdir=/var/www/html \
--manualdir=/var/www/html/manual \
--cgidir=/var/www/cgi-bin \
--localstatedir=/var \
--runtimedir=/var/run \
--logfiledir=/var/log/httpd \
--proxycachedir=/var/cache/httpd \
--with-perl=/usr/bin/perl \
--add-module=mod_frontpage.c \
--disable-module=auth_db --disable-module=auth_dbm
Then what is directory path where the mod evasive need to be saved ?
because now it's exist in the following path:
/usr/local/directadmin/customapache/mod_evasive
but when I will execute the following commands:
./build clean
./build apache_mod_ssl
then how apache will find the mod evasive files ?
So , probably the mod_evasive files need to be saved into differ directory rather then /usr/local/directadmin/customapache/mod_evasive
by the way , you must improve the KB http://help.directadmin.com/item.php?id=50
You need to explain the users where to save the new module and from where the name of the module is taken.
If this info would be in the KB then I wouldn't ask so much questions.
by the way,
HOW TO INSTALL mod_evasive according to the README file which exist inside mod_evasive gz package:
APACHE v1.3
-----------
Without DSO Support:
1. Extract this archive into src/modules in the Apache source tree
2. Run ./configure --add-module=src/modules/evasive/mod_evasive.c
3. make, install
4. Restart Apache
but I want to use the customapache method.
Please Assist me.
And I am thank you in Advacned.