Re: Mac OS X 10.7 (Lion), Apache2.2, WebObjects Problem
Re: Mac OS X 10.7 (Lion), Apache2.2, WebObjects Problem
- Subject: Re: Mac OS X 10.7 (Lion), Apache2.2, WebObjects Problem
- From: ISHIMOTO Ken <email@hidden>
- Date: Sun, 04 Sep 2011 00:20:39 +0200
Hi,
I have setup 6 new mac minis now, and one machine I setup over 10 times only to figure out how it works.
The only steps I did is.
1. VirtualHosting Bug
http://support.apple.com/kb/HT4838?viewlocale=en_US
2. Install WO and Apache with that Script that I figured out that it work very good and simple.
The Script you can Download and take a look, it is also on the WO-Community Deployment Git
In the Apache Settings, I only added the WebObjects.conf file.
In Snow Leopard I had to change the ScriptAliasMatch ..., but not in Lion. Everythink worked just fine.
Hope it helped.
Ken
On 2011/09/03, at 22:03, Sergio Sánchez Maffet wrote:
> Hi,
> Still no luck with this issue.
> ISHIMOTO : I have tried your temporaryfix.conf, but does not work. Could you tell me where you did find that mentioned post? I'm using a https only configuration on the web server. Only a 443 site is configured. (0000_any_80__shadow.conf is active)
> Pascal: This is not a ScriptAlias problem, using:
> ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1"
>
> Any further help is highly appreciated,
>
> Thanks
> -
> Sergio
>
> Am 02.09.2011 um 20:51 schrieb ISHIMOTO Ken:
>
>> Hi,
>>
>> There was an Article on Apples Site, there is an BUG in Lion Server for VirtualHosting.
>>
>> Create a File : 「/etc/apache2/sites/temporaryfix.conf」
>>
>> and add two lines below. That's it.
>>
>> NameVirtualHost *:80
>> NameVirtualHost *:443
>>
>> Also on my mac-minis it worked without the comment out of ScriptAlias /cgi-bin.
>>
>> Like the script that I made. I use it now on 6 installation, and work in minutes.
>>
>>
>> On 2011/09/02, at 20:36, Pascal Robert wrote:
>>
>>> Find the line in httpd.conf that start with:
>>>
>>> ScriptAlias /cgi-bin
>>>
>>> And comment it.
>>>
>>>> Hi all,
>>>>
>>>> Trying to get WebObjects running on a Mac mini sever with Mac OS X 10.7 (Lion), but the VirtualHost configuration is bothering me.
>>>> None of my directives are working, have put copy of apache.conf into the others config folder with name webobjects.conf. The Adaptor is loaded, checked with apachectl -M, and apachectl -t, says Syntax OK, but the following directives, in the beginning of webobjects.conf file are not working:
>>>>
>>>> Alias /WebObjects "/Library/WebServer/Documents/WebObjects"
>>>>
>>>> <Directory "/Library/WebServer/Documents/WebObjects">
>>>> AllowOverride All
>>>> Order allow,deny
>>>> Allow from all
>>>> </Directory>
>>>>
>>>> <LocationMatch /cgi-bin/WebObjects/.*>
>>>> Order allow,deny
>>>> Allow from all
>>>> </LocationMatch>
>>>>
>>>> Trying to load the WOAdaptorInfo page, I'm getting the following error (error_log):
>>>>
>>>> File does not exist: /Library/Server/Web/Data/Sites/Default/cgi-bin
>>>
>>>
>>>
>>>> I know, that this is a VirtualHost:*:443 directive issue, but don't know how to solve this in an elegant manner, e.g. without loosing Server.app support for virtual hosting.
>>>> Any clues?
>>>>
>>>> Thanks
>>>> --
>>>> Sergio _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list (email@hidden)
>>>> Help/Unsubscribe/Update your Subscription:
>>>>
>>>> This email sent to email@hidden
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>> Thank you
>>
>> --------------------------------------------------------
>> K's ROOM (ISHIMOTO Ken)
>> --------------------------------------------------------
>> [E-Mail] <email@hidden>
>> [iChat:] <email@hidden>
>> [HP] http://www.ksroom.com/
>> _____________________________________________________________________
>> This e-mail has not been scanned for viruses because it was written on an Mac,
>> and there are NO Viruses on an Apple Computer.
>> For further information visit http://www.apple.com
>>
>>
>>
>>
>>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden