Re: OT Configuration of apache for https and WebObjects

Patrick Middleton <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
On 10 Apr 2006, at 22:52, Michael Deninger wrote:

> Hi,
>
> I am stuck in setting up my MacOS X 10.4 box to serve WebObjects  
> over https. I have successfully set up mod_ssl and adjusted  
> httpd.conf to allow me to connect to the server like this:
>
> https://my.server.com/
>
> That works fine. But when I add the rest of the url for my WO  
> application:
>
> https://my.server.com/cgi-bin/WebObjects/MyApp.woa
>
> I cannot connect with https
>
> I have to guess that I am missing a configuration setting  
> SOMEWHERE. I have googled for help but come up empty. Can anyone  
> point me in the right direction?
>
> Thanks!
>
> Mike

If you can connect to the server by HTTPS but not to your  
webapps .... that sounds to me like an Apache module loading order  
problem.  Mostly I deal with 1.3.26 on MacOSX 10.1.5 and 1.3.33 on  
MacOSX 10.4.x, where my sequence of LoadModule/AddModule directives  
now looks like

		...
	LoadModule bonjour_module     libexec/httpd/mod_bonjour.so
	LoadModule jk_module libexec/httpd/mod_jk.so
	LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/ 
Apache/mod_WebObjects.so
	LoadModule rewrite_module     libexec/httpd/mod_rewrite.so
	LoadModule ssl_module         libexec/httpd/libssl.so
	...
	AddModule mod_bonjour.c
	AddModule mod_jk.c
	AddModule mod_WebObjects.c
	AddModule mod_rewrite.c
	AddModule mod_ssl.c

This bit
	# Including WebObjects Configs
	Include /System/Library/WebObjects/Adaptors/Apache/apache.conf

further down httpd.conf will then cause a 'module mod_WebObjects.so  
already loaded' warning when Apache starts which you can ignore.

-- Patrick
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.