Hello,
I built Apache from source on Fedora:
./configure --prefix /usr/local/apache2 --enable-mods-
shared=most --enable-mods-shared='ssl rewrite'
Paul Charles Leddy
[EMAIL PROTECTED]
IT / NOC
Systems Administration and Engineering
Build Engineer / Developer Tools
503-248-4440 x125
On Dec 14, 2007, at 6:58 AM, Aurelien Minet wrote:
ute Hoffmann a écrit :
Hallo,
I posted yesterday, thank you for the help and the adaptor source for
apache 2.0.
I need to have it running under Apache 2.2 unfortunately, going back
to apache 2.0 is not an option.
I read there is a adaptor source included in WO 5.4 for apache 2.2.
Given I could get at the adaptor source (which I can), would this
adaptor run with a WO 5.3 install??? Has anyone tried?
I maybe have a better chance to build that source on linux for the
given setting unless it needs 64 Bit, which I do not have.
Is there anybody around who has a patched mod_WebObjects adaptor
source for WO 5.3 for apache 2.2 and would be willing to give that
source to me?
Hi,
Get the Adaptor distributed with Project Wonder v3
(http://wonder.sourceforge.net).
Under debian you may need to do apt-get install apache2-threaded-dev
libapr1-dev . I got a successful build under gentoo with apr 1.2.8 and
apache 2.2.6 running linux 2.6.22, gcc 3.4.6 and une glibc 2.3.6 in 32
Bits.
The source is ok, just need to fix the build system, you need to :
_ run "apr-1-config --cflags --cppflags" in order to have the
right CFLAGS and CPPFLAGS, in my case I change 3 lines in Apache2.2/
Makefile to finaly have :
INCLUDES = -I${APACHEINCLUDE_DIR} -I../Adaptor -I/usr/include/apr-1
CFLAGS = -O2 -Wall ${INCLUDES} ${DEBUG_FLAG} -
DSINGLE_THREADED_ADAPTOR -D${OS} -DFORKING_WEBSERVER -DAPACHE $
{ENABLE_SSL_SUPPORT} -fPIC -fpic -D_REENTRANT -D_GNU_SOURCE -
D_LARGEFILE64_SOURCE -mtune=i686 -fomit-frame-pointer -pipe -pthread
# ....
# in the linux section
LDFLAGS +=-G -L/lib -lc ${OPENSSL_LIB_FLAGS} -fpic
(I added fpic fPIC in order to activate 'position
independent code', cause I am using an hardened kernel with PaX)
_ change the "linux section" in make.config in order to have
something like:
# LINUX
ifeq "LINUX" "$(OS)"
ADAPTORS = Apache2.2
APXS = /usr/sbin/apxs2
APACHEINCLUDE_DIR = /usr/include/apache2
endif
_ in the defaults apache configuration files "Directory /" has the
options 'Order deny,allow' and 'Deny from all', so cgi-bin/
WebObjects/ is restricted, changing configuration is need to
authorize access.
(also I commented ScriptAlias /cgi-bin/ "/var/www/localhost/cgi-bin")
Aurelien Minet
--
Université de Provence
Aix-Marseille 1
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-
[EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/paul%
40site9.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]