logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: Several questions [apache2.2.2, zlib, mod_security]
Author
honk



Joined: 30 Jun 2006
Posts: 3

PostPosted: Fri 30 Jun '06 20:24    Post subject: Several questions [apache2.2.2, zlib, mod_security] Reply with quote

Hello experts,

I am a newbie of building apache2 with mods. I dont like to download a serversuite which contains all stuffs u need. I want to do/build it myself!



Question1: [zlib123]
Do i need to apply this source patch to zlib123 for building apache 2.2.2?
http://archive.apache.org/dist/httpd/binaries/win32/patches_applied/zlib-1.2.3-vc32-2005-rcver.patch

Question2: [mod_security]
How can I integrate the source of mod_security to Apache2.2.2? There is a tutorial about integrating mod_security source to Apache 2.2.2 for Unix systems but there isn't one for win32. Neutral

Code:

$ cd <modsecurity-source>/apache2
$ mkdir -r <apache2-source>/modules/security
$ cp mod_security.c Makefile.in config.m4 <apache2-source>/modules/security
$ cd <apache2-source>
$ ./buildconf

From this point on mod_security will appear to Apache as any other built-in module. It will not be compiled-in by default. To enable it do the following:

$ ./configure --enable-security

SOURCE

Have a nice day and have fun with my questions Mr. Green

honk
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Fri 30 Jun '06 22:22    Post subject: Reply with quote

You can download Apache 2.2.2 from this page, also you can download the newest mod_security for Apache 2.2.2
In the forum is "how to" use mod_security
in the Readme First.txt in the zip from mod_security is a tutorial how to do that.


http://www.apachelounge.com/download/
http://www.apachelounge.com/viewtopic.php?p=263
Back to top
honk



Joined: 30 Jun 2006
Posts: 3

PostPosted: Fri 30 Jun '06 23:54    Post subject: Reply with quote

o________O

You've just read the topic! Am i right or right? Please read my full post carefully again! Mad
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Sat 01 Jul '06 0:15    Post subject: Reply with quote

I think James understands what you want.

Modules are not included in the main Apache binary (libhttpd.dll libaprutil-1.dll etc.) . Modules are loaded dynamically with the Loadmodule directive. The answer to your question 2 is that the source is not integrated in Apache 2.2.2 . It is build against Apache 2.2.2 and the result is a module. And you can use for win32 the mentioned source.

Question 1 . I Do not use that patch when building Apache 2.2.2, not needed. The patch is for 2.0.58.

Indeed serversuites/wamp's are a hog with mostly not needed stuff

So a good suggestion from James is to download the Apache and mod_security from here. No need to build, just enable the modules you want to use with the Loadmodule directive.

If you still want to build for yourself, there are some posts about it in this forum.



Steffen
Back to top
honk



Joined: 30 Jun 2006
Posts: 3

PostPosted: Sat 01 Jul '06 1:12    Post subject: Reply with quote

Thanks for replay,

I built it myself, it's easy! Wink
hm... How did he do that?
http://forums.devside.net/viewtopic.php?t=1009

Greetz to all

honk.

PS: Plz apologize me James Blond Rolling Eyes. I have to go on vacation with my family today. Mad.
By the way, DEUTSCHLAND VOR!!Very Happy

ON VACATION UNTIL 12.07.2006
Back to top


Reply to topic   Topic: Several questions [apache2.2.2, zlib, mod_security] View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads