Re: Apache adaptor for OS X 10.8
Re: Apache adaptor for OS X 10.8
- Subject: Re: Apache adaptor for OS X 10.8
- From: Henrique Gomes <email@hidden>
- Date: Tue, 26 Mar 2013 20:03:50 +0000
"apachectl configtest" is using the default files (/etc/apache2) unless given the -f option.
Just do a ps -aux to see how Server is launching apache. You will see this:
-f /Library/Server/Web/Config/apache2/httpd_server_app.conf
HG
On 26/03/2013, at 19:59, Pascal Robert <email@hidden> wrote:
>
> Le 2013-03-26 à 15:51, Henrique Gomes <email@hidden> a écrit :
>
>> Hello,
>>
>> I started today trying to get 10.8 *Server* to use mod_WebObjects. Before I had to leave, I did found out that /etc/apache2 files are not used if Server.app is installed. That's why httpd -M list looks like it's configured but not working.
>> I was trying to configure a virtual host on the Server.app interface and then change the configuration file to Include webobjects.conf and got the 'No application running' screen. More tomorrow…
>
> This is weird. I installed my copy of apache.conf (renamed as webobjects.conf) in /etc/apache2/other and if I uncomment the LoadModule directive, "apachectl configtest" tells me that the module is already loaded (because it was also added to httpd.conf).
>
>> Kind regards,
>>
>> Henrique Gomes
>>
>>
>> On 26/03/2013, at 19:29, Johann Werner <email@hidden> wrote:
>>
>>> Hi Pascal,
>>>
>>> some months ago I did a 10.8 (with installed server tools) setup for WO. The problem is that Apple changed a lot in the directory structure of apache, e.g. the config files in /etc/apache2 are not used anymore by the apache that comes with the system. I can't remember exactly what I did but looking at the config files of the system now I have those places where WO related things are found:
>>>
>>> file: /Library/Server/Web/Config/apache2/httpd.conf
>>> added Include "<path to your webobjects apache conf>" to the end of the file
>>>
>>> file: /Library/Server/Web/Config/apache2/httpd_server_app.conf
>>> added Include "<path to your webobjects apache conf>" to the end of the file
>>> within the <IfModule alias_module> directive there is ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/Server/Web/Data/CGI-Executables/$1"
>>>
>>> Probably the changes in the httpd.conf are unnecessary though. The web server resources of your WO applications have to be placed in /Library/Server/Web/Data/Sites/Default/WebObjects to be accessible to the world. There too the directory /Library/WebServer/Documents used in the past is not used anymore on OS X 10.8.
>>>
>>> Hope that helps.
>>>
>>> jw
>>>
>>>
>>> Am 26.03.2013 um 19:45 schrieb Pascal Robert <email@hidden>:
>>>
>>>> So it seems that the Apache adaptor (mod_WebObjects) is having a couple of problems on 10.8. The problem is that the module is loading (httpd -M list it), but all directives related to the adaptor (WebObjectsAlias, etc.) are not loaded, even if the configuration file IS loaded. Does anyone have a working adaptor for 10.8?
>>>>
>>>> And no, going to Apache 2.4 is not an option, at least not for me. The place I'm trying to install the adaptor needs to keep the Apache installation that is coming with OS X.
>>>
>>>
>>>
>>> _______________________________________________
>>> 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