Re: Apache 2.4 configuration
Re: Apache 2.4 configuration
- Subject: Re: Apache 2.4 configuration
- From: Jean Pierre Malrieu <email@hidden>
- Date: Thu, 01 Mar 2018 14:35:06 +0100
Hi Maik,
On my previous server I had:
WebObjectsDocumentRoot LOCAL_LIBRARY_DIR/WebServer/Documents
I have changed that to
WebObjectsDocumentRoot /var/www
hoping it would help (I was not sure LOCAL_LIBRARY_DIR would be properly set)
I do have the WebObjectAlias line.
JPM
> Le 1 mars 2018 à 12:27, Maik Musall <email@hidden> a écrit :
>
> Hi Jean Pierre,
>
> do you have the WebObjects.conf file enabled in Apache modules, containing
> these lines in particular?
>
> WebObjectsDocumentRoot /opt/Local/Library/WebServer/Documents/WebObjects
> WebObjectsAlias /cgi-bin/WebObjects
>
> Maik
>
>> Am 01.03.2018 um 12:01 schrieb Jean Pierre Malrieu <email@hidden
>> <mailto:email@hidden>>:
>>
>> That I already did, but it doesn’t solve the pb. If I understand it
>> correctly I need to allow access to the static ressources in WO frameworks,
>> and that can be done with the Alias directive (and the corresponding
>> <Directory> block you mention)
>> But the Alias directive screws up the access to the app (and embedded
>> frameworks) static ressources.
>> Thanks for trying to help me though!
>>
>>> Le 1 mars 2018 à 11:44, Altera WO Team <email@hidden
>>> <mailto:email@hidden>> a écrit :
>>>
>>> Hi, you should also allow access to the Directory, put something like this
>>> in your conf
>>>
>>> <Directory "/opt/Local/Library/WebServer/Documents/WebObjects">
>>> AllowOverride None
>>> Require all granted
>>> </Directory>
>>>
>>> Hope it helps,
>>>
>>>
>>> Matteo
>>>
>>>> On 1 Mar 2018, at 09:13, Jean Pierre Malrieu <email@hidden
>>>> <mailto:email@hidden>> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I’am trying to deploy a WO app on a new Ubuntu 16.04 server with Apache
>>>> 2.4. I have tried to follow the instructions in the wiki but I don’t
>>>> really understand what they mean, i confess.
>>>> The app is starting fine. But I am facing a dilemma
>>>> if I use a Alias rule like Alias /WebObjects
>>>> "/opt/Local/Library/WebServer/Documents/WebObjects"
>>>> then I can navigate in the app but the app (and embedded Frameworks)
>>>> static ressources are not served (and that is logical since the path to
>>>> static ressources contains ‘WebObjects’)
>>>> If comment out the Alias rule then static ressources are served, but I get
>>>> a WO internal « access denied » page (I guess that is because I cannot
>>>> access WO frameworks).
>>>>
>>>> How do you guys manage to achieve both access to the WO Frameworks and to
>>>> the static ressources?
>>>>
>>>> TIA
>>>>
>>>> JPM
>>>>
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list (email@hidden
>>>> <mailto:email@hidden>)
>>>> Help/Unsubscribe/Update your Subscription:
>>>>
>>>>
>>>> This email sent to email@hidden <mailto:email@hidden>
>>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden
>> <mailto:email@hidden>)
>> Help/Unsubscribe/Update your Subscription:
>>
>>
>> This email sent to email@hidden <mailto:email@hidden>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden
> <mailto:email@hidden>)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden <mailto: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