Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Several questions [apache2.2.2, zlib, mod_security] |
|
Author |
|
honk
Joined: 30 Jun 2006 Posts: 3
|
Posted: Fri 30 Jun '06 20:24 Post subject: Several questions [apache2.2.2, zlib, mod_security] |
|
|
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.
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
honk |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7364 Location: Germany, Next to Hamburg
|
|
Back to top |
|
honk
Joined: 30 Jun 2006 Posts: 3
|
Posted: Fri 30 Jun '06 23:54 Post subject: |
|
|
o________O
You've just read the topic! Am i right or right? Please read my full post carefully again! |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3091 Location: Hilversum, NL, EU
|
Posted: Sat 01 Jul '06 0:15 Post subject: |
|
|
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
|
Posted: Sat 01 Jul '06 1:12 Post subject: |
|
|
Thanks for replay,
I built it myself, it's easy!
hm... How did he do that?
http://forums.devside.net/viewtopic.php?t=1009
Greetz to all
honk.
PS: Plz apologize me James Blond . I have to go on vacation with my family today. .
By the way, DEUTSCHLAND VOR!!
ON VACATION UNTIL 12.07.2006 |
|
Back to top |
|
|
|
|
|
|