I downloaded the file from the link you sent me again and put it on the new machine and did everything in the description and now it works as expected. Either my first download was corrupted or I had something wrong in the apache config file or it really neede the Apache 2.4 folder (I had put the new adaptor
into the Apache 2.2 folder and had referenced it)

Thanks again for the help and the description!

Regards,

Ute

Am 11.03.2016 um 06:51 schrieb Chuck Hill:

I’ve build this recently, so I probably have it. But I am not clear, which config file do you need? Sorry, I am kind of sleepy at the moment.

Chuck





On 2016-03-10, 9:44 PM, "ute Hoffmann" <u.hoffmann@tt- pixelmind.com> wrote:

Yes, that seems to be the adaptor I already have. But I will try again.

Do you happen to have the missing config file (mentioned in the
description of how to build the adaptor), if I had this I would try
to build from source.

Thanks for the link.

Regards,

Ute

Am 10.03.2016 um 20:44 schrieb Chuck Hill:

Yes, that sounds like an adaptor fault.  Check the Apache error
log.  I am going to paste a message from Benjamin Chew with a link
to an adaptor.  That may be the one you already have?

Chuck

————
Sorry for the confusion, the mailing list didn't like attachments
over 300k and did not distribute my email below.

Here is a link to the binary:
https://www.dropbox.com/s/zxdbp1wbfx4uyuc/mod_WebObjects.so?dl=0


If you want to see how I got things to work, read on...

---------

Okay, I figured it out. Turns out that I needed to update my Xcode
command line tools.
These are the steps that you need to perform:

- Install Xcode (6.1)


- If you already had Xcode 6.1 installed, run this to reinstall the
command line tools:
/usr/bin/xcode-select --install

- Add link to Xcode toolchain:
cd /Applications/Xcode.app/Contents/Developer/Toolchains
sudo ln -s XcodeDefault.xctoolchain OSX10.10.xctoolchain

- Download Wonder adaptors
cd /tmp
svn co https://github.com/wocommunity/wonder.git/Utilities/Adaptors

- Edit makefile
vi /tmp/Adaptors/Apache2.4/Makefile
and remove the argument "-macosx_version_min 10.5"

- Build adaptor
cd /tmp/Adaptors
gnumake (some bits fail, but carry on)
gnumake Apache2.4

This creates mod_WebObjects.so
in /tmp/Adaptors/Apache2.4


Other things that I had to do after I built the adaptor:

- I then created the directory /System/Library/WebObjects/Adaptors/
Apache2.4/ and moved the adaptor there

- Copied the apache.conf file from
/System/Library/WebObjects/Adaptors/Apache2.2 to
/System/Library/WebObjects/Adaptors/Apache2.4

- Change the path in the 2nd line of apache.conf to:
LoadModule WebObjects_module            /System/Library/WebObjects/
Adaptors/Apache2.4/mod_WebObjects.so

- Make sure all the file permissions in the Apache2.4 directory
were identical to the ones in the Apache2.2 directory

=== Steps below detail how I edited the stock Yosemite httpd.conf
in /etc/apache2 ===

- Add line in httpd.conf:
Include /System/Library/WebObjects/Adaptors/Apache2.4/apache.conf

- Uncomment line:
Include /private/etc/apache2/extra/httpd-ssl.conf
- Change the "Directory /" section to allow access:
<Directory />
    AllowOverride none
    Require all granted <--- THIS IS A NEW APACHE 2.4 DIRECTIVE TO
"ALLOW FROM ALL"
</Directory>

- I did find it a little weird that this was already in my
httpd.conf (maybe it wasn't stock after all?), but if you don't
have it, you need to add it:
<IfModule alias_module>
  ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/
WebServer/CGI-Executables/$1" <--- ADD THIS LINE
</IfModule>


Ben
——



On 2016-03-10, 11:11 AM, "webobjects-deploy-bounces+chill=global-
village....@lists.apple.com on behalf of ute Hoffmann" <webobjects-
deploy-bounces+chill=global-village....@lists.apple.com on behalf
of u.hoffm...@tt-pixelmind.com> wrote:

Hi,
I have a new WebObjects install on Apache 2.4 on Mac OS 10.10.

WOTask works and JavaMonitor sees my host, Apache is also working but
when I try to connect via 127.0.0.1 to my App
I get this error:

Safari cannot connect to the server.
Safari cannot open the page because it cannot connect to the server
127.0.0.1

(When I just put into the browser http://127.0.0.1 I see the default
page of apache. As soon as I enter the URL to my App the
error appears.

I suspect the Adapter. I downloaded a binary for Mac Os X from the
web, which was mentioned in a mail.
I also thought about compiling the source but the description talks
about a config file, but the file is missing from
the adapter source I have.

Is there a binary around (none for Mac OS X and Apache 2.4 in the
repository) or the missing config file?
Or is the error message part of a networking problem or something not
connected to the webobjects adaptor?

Regards,

Ute
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      (Webobjects-
dep...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-deploy/chill%
40global-village.net

This email sent to ch...@global-village.net






_______________________________________________
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:
https://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to