Hi,

Thanks all for further discuss this topic.[ this is for WO-Ubuntu-Apache2]

My original make.config and Makefile are from WONDER source.

Make.config:

# OTHER LINUX
else
# Ubuntu
ADAPTORS = CGI Apache2.2
APXS = /usr/bin/apxs2
APACHEINCLUDE_DIR = /usr/include/apache2

Makefile:

INCLUDES = -I${APACHEINCLUDE_DIR} -I../Adaptor -I/usr/include/apr-1.0

ifeq "LINUX" "${OS}"
# Flags for use when enabling mod_ssl support
ENABLE_SSL_SUPPORT = -DAPACHE_SECURITY_ENABLED
# These should be set to point at the ssl include and lib directories, 
respectively.
OPENSSL_INCL_FLAGS = -I/usr/include/openssl
OPENSSL_LIB_FLAGS = -L/usr/lib -lcrypto -lssl

# thanks to Aurélien Minet
CFLAGS += -fPIC -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE  -mtune=i686 
-fomit-frame-pointer -pipe -pthread

CFLAGS +=-DEAPI -fno-stack-protector

LDFLAGS +=-G -L/lib -lc ${OPENSSL_LIB_FLAGS} -fpic
APXSFLAGS = -c


endif
# End Linux Config


I added "CFLAGS +=-DEAPI -fno-stack-protector" for Ubuntu, not sure any 
effection?
I did add "RC_CFLAGS = -arch i386 CFLAGS += -I/usr/local/include LDFLAGS += 
-L/usr/local/lib" should do or not?

Do I have to build CGI or not? If not, how "/cgi-bin/WebObjects" works?


I can deploy HelloWorld and other wo app now.But...

I can got WOadptorinfo by
http://localhost/cgi-bin/WebObjects/WOAdaptorInfo
http://localhost/cgi-bin/WebObjects/WOAdaptorInfo?user+password

I got page said:
"The requested application was not found on this server."

Apache2 access.log:
127.0.0.1 - - [21/Jul/2008:09:29:39 +1200] "GET 
/cgi-bin/WebObjects/WOAdaptorInfo HTTP/1.1" 404 99 "-" "Mozilla/5.0 (X11; U; 
Linux i686; en-US; rv:1.9b5) Gecko/2008041514 Firefox/3.0b5"
127.0.0.1 - - [21/Jul/2008:09:30:37 +1200] "GET 
/cgi-bin/WebObjects/WOAdaptorInfo?user+password HTTP/1.1" 404 99 "-" 
"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008041514 
Firefox/3.0b5"

Rewrite.log
127.0.0.1 - - [21/Jul/2008:09:54:37 +1200] 
[localhost/sid#81be5a8][rid#821c080/subreq] (1) pass through /WOAdaptorInfo
127.0.0.1 - - [21/Jul/2008:09:55:05 +1200] 
[localhost/sid#81be5a8][rid#8220090/initial] (2) init rewrite engine with 
requested uri /cgi-bin/WebObjects/WOAdaptorInfo
127.0.0.1 - - [21/Jul/2008:09:55:05 +1200] 
[localhost/sid#81be5a8][rid#8220090/initial] (1) pass through 
/cgi-bin/WebObjects/WOAdaptorInfo
127.0.0.1 - - [21/Jul/2008:09:55:05 +1200] 
[localhost/sid#81be5a8][rid#821c080/subreq] (2) init rewrite engine with 
requested uri /WOAdaptorInfo
127.0.0.1 - - [21/Jul/2008:09:55:05 +1200] 
[localhost/sid#81be5a8][rid#821c080/subreq] (1) pass through /WOAdaptorInfo

WebObjects.log:
Debug: <WebObjects Apache Module> new translate: /WOAdaptorInfo
Debug: <WebObjects Apache Module> translate - DECLINED: /WOAdaptorInfo
Debug: <WebObjects Apache Module> new translate: /WOAdaptorInfo
Debug: <WebObjects Apache Module> translate - DECLINED: /WOAdaptorInfo


How could I start WOAdaptorInfo?


Thanks


kevin

"This communication is confidential and may contain privileged and/or copyright 
material. If you are not the intended recipient you must not use, disclose, 
copy or retain it. If you have received it in error please immediately notify 
me by return email, delete the emails and destroy any hard copies. ANZ National 
Bank Limited does not guarantee the integrity of this communication, or that it 
is free from errors, viruses or interference."
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to