Setting the following is now working fine (not sure if it was 127.0.0.1 or
my web cashe playing jokes to me):
ProxyRequests Off
ProxyPreserveHost On
ProxyPass /iforms/ http://localhost:8443/app/
ProxyPassReverse /iforms/ http://localhost:8443/app/
On Thu, Dec 19, 2019 at 6:10 PM Alex K <[email protected]> wrote:
> CORRECTION
>
> On Thu, Dec 19, 2019 at 6:09 PM Alex K <[email protected]> wrote:
>
>> Hi,
>>
>> On Thu, Dec 19, 2019 at 5:43 PM Eric Covener <[email protected]> wrote:
>>
>>> > ProxyRequests Off
>>> > ProxyPreserveHost On
>>> > ProxyPass /var/www/myapp/ http://127.0.0.1:8443/
>>> > ProxyPassReverse /var/www/myapp/
>>> http://localhost:8443/
>>>
>>> The first parameter is a URL prefix, not a filesystem path.
>>>
>> I tried same setup with /myapp instead of the full path, and this time I
>> get the default tomcat page. I want though to load the specific app under
>> http/localhost:8443/app. When setting the below the user get URL not found,
>> and the web browser seems to be searching for server_ip/app.
>>
>> ProxyRequests Off
>> ProxyPreserveHost On
>>
>> *ProxyPass /myapp/ http://127.0.0.1:8443/app <http://127.0.0.1:8443/>
>> ProxyPassReverse /myapp/ http://localhost:8443/app <http://localhost:8443/>*
>>
>> Is there any way to instruct apache to load the app instead of the tomcat
>> default page or is this a tomcat issue?
>> Many thanx for your help.
>>
>>
>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>