Page 1 of 1

How I can add new modules to Apache?

PostPosted: 23. October 2008 13:37
by h2non
Hi!

I need add a new module to Apache server. At the moment, XAMPP doesn't have the module "bandwidth" (mod_bandwidth) and my question it's over this topic.

¿How I can add this module? ¿is to recompile XAMPP necessary?
¿What i can do?

Thanks you very much in advance!

PostPosted: 23. October 2008 13:41
by Wiedmann
How I can add this module?

I guess there is a readme with installation instructions with this module.

is to recompile XAMPP necessary?

No. But you need the XAMPP devel package.

PostPosted: 23. October 2008 14:39
by h2non
Wiedmann wrote:I guess there is a readme with installation instructions with this module.

No. But you need the XAMPP devel package.


Firts, thanks al lot for your reply!

And how i can upgrade XAMPP with a new modules using devel package?

Thanks!

PostPosted: 23. October 2008 14:44
by Wiedmann
And how i can upgrade XAMPP with a new modules

That's what you can read in the readme from 3rd party modules like mod_bandwidth (XAMPP is just an Apache like any other).


using devel package?

You can't "use" the devel package. But you must have/installed it.

PostPosted: 23. October 2008 15:03
by h2non
How i can install the devel package?

PostPosted: 23. October 2008 15:06
by glitzi85

PostPosted: 23. October 2008 15:07
by Wiedmann
How i can install the devel package?

On the XAMPP for Linux Homepage you can read the install instuctin for the Devel package.

PostPosted: 23. October 2008 15:27
by h2non
Okay, Now are installing. Thanks!

And another question, don't need recompile apache for add the module?

In positive case, only need copy the module file at /lampp/modules/ and modify the httpd.conf and perform correctly?

Thanks a lot and forgiveness for my heaviness :D

PostPosted: 23. October 2008 15:58
by Wiedmann
don't need recompile apache for add the module?

No.

only need copy the module file

No, you must compile the module (read the modul install instruction). (IMHO the installer is copying the module itself to the right location)

PostPosted: 23. October 2008 16:14
by h2non
But, the module is only one file (mod_bandwidth.so).

And the installation guide of the module shows that I have to compile and install apache. I understand that there is everything to compile and install everything.

If it is not, that one method can be.

PostPosted: 23. October 2008 16:26
by Wiedmann
But, the module is only one file (mod_bandwidth.so).

Then you have a precompiled module for some other webserver. The original mod_bandwidth is just a c source file.

(BTW: From what I can read, mod_bandwidth is for Apache 1.3 ...)

PostPosted: 23. October 2008 16:36
by h2non
Wiedmann wrote:
But, the module is only one file (mod_bandwidth.so).

Then you have a precompiled module for some other webserver. The original mod_bandwidth is just a c source file.

(BTW: From what I can read, mod_bandwidth is for Apache 1.3 ...)


You are true! I compile the C code, but not runs.

By the time I leave aside this module.
By any chance know other similar modules for Apache 2.2.9?

Thank you very much!