How I can add new modules to Apache?

Problems with the Linux version of XAMPP, questions, comments, and anything related.

How I can add new modules to Apache?

Postby h2non » 23. October 2008 13:37

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!
h2non
 
Posts: 23
Joined: 23. October 2008 13:25
Location: 127.0.0.1

Postby Wiedmann » 23. October 2008 13:41

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.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby h2non » 23. October 2008 14:39

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!
h2non
 
Posts: 23
Joined: 23. October 2008 13:25
Location: 127.0.0.1

Postby Wiedmann » 23. October 2008 14:44

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.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby h2non » 23. October 2008 15:03

How i can install the devel package?
h2non
 
Posts: 23
Joined: 23. October 2008 13:25
Location: 127.0.0.1

Postby glitzi85 » 23. October 2008 15:06

User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Postby Wiedmann » 23. October 2008 15:07

How i can install the devel package?

On the XAMPP for Linux Homepage you can read the install instuctin for the Devel package.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby h2non » 23. October 2008 15:27

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
h2non
 
Posts: 23
Joined: 23. October 2008 13:25
Location: 127.0.0.1

Postby Wiedmann » 23. October 2008 15:58

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)
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby h2non » 23. October 2008 16:14

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.
h2non
 
Posts: 23
Joined: 23. October 2008 13:25
Location: 127.0.0.1

Postby Wiedmann » 23. October 2008 16:26

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 ...)
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby h2non » 23. October 2008 16:36

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!
h2non
 
Posts: 23
Joined: 23. October 2008 13:25
Location: 127.0.0.1


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 5 guests