Configure apache for visualworks/wave application server

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Configure apache for visualworks/wave application server

Manfred Kohl-3
the docs in WebServerConfig.pdf seem a bit outdated.
I think I found an easier way (apache2)

1. check that proxy module is loaded
        LoadModule proxy_module libexec/apache2/mod_proxy.so


2. Add lines to apache2 httpd.conf
example:  lines for sites configuration and WebTutorial  (sandbox and teach sites)

ProxyPass /teach http://localhost:8008/teach
ProxyPassReverse /teach http://localhost:8008/teach

ProxyPass /configure http://localhost:8008/configure
ProxyPassReverse /configure http://localhost:8008/configure

ProxyPass /sandbox http://localhost:8008/sandbox
ProxyPassReverse /sandbox http://localhost:8008/sandbox


regards

Manfred Kohl




_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Configure apache for visualworks/wave application server

jarober
That's what I documented here:


when I set up my site in 2009

On Jan 21, 2012, at 12:01 PM, Manfred Kohl wrote:

the docs in WebServerConfig.pdf seem a bit outdated.
I think I found an easier way (apache2)

1. check that proxy module is loaded
LoadModule proxy_module libexec/apache2/mod_proxy.so


2. Add lines to apache2 httpd.conf
example:  lines for sites configuration and WebTutorial  (sandbox and teach sites)

ProxyPass /teach http://localhost:8008/teach
ProxyPassReverse /teach http://localhost:8008/teach

ProxyPass /configure http://localhost:8008/configure
ProxyPassReverse /configure http://localhost:8008/configure

ProxyPass /sandbox http://localhost:8008/sandbox
ProxyPassReverse /sandbox http://localhost:8008/sandbox


regards

Manfred Kohl




_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc



_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Configure apache for visualworks/wave application server

Mark Roberts
In reply to this post by Manfred Kohl-3
On 1/22/2012 2:01 AM, Manfred Kohl wrote:
> the docs in WebServerConfig.pdf seem a bit outdated.

Could you be specific? Which part of the documentation? Page numbers?

Actually, the use of a proxy is already documented in that guide -- see
"Configuring VisualWorks to use an Apache Proxy" on page 5-2.

It explains the steps to use Apache 2.0.

If there is a problem with that discussion, please let us know.

Regards,

M. Roberts
Cincom Systems, Inc.

> I think I found an easier way (apache2)
>
> 1. check that proxy module is loaded
> LoadModule proxy_module libexec/apache2/mod_proxy.so
>
>
> 2. Add lines to apache2 httpd.conf
> example:  lines for sites configuration and WebTutorial  (sandbox and teach sites)
>
> ProxyPass /teach http://localhost:8008/teach
> ProxyPassReverse /teach http://localhost:8008/teach
>
> ProxyPass /configure http://localhost:8008/configure
> ProxyPassReverse /configure http://localhost:8008/configure
>
> ProxyPass /sandbox http://localhost:8008/sandbox
> ProxyPassReverse /sandbox http://localhost:8008/sandbox
>
>
> regards
>
> Manfred Kohl
>
>
>
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Configure apache for visualworks/wave application server

Steve Whitson
I wouldn't say the information on page 5-2 is wrong, just not the
simplest approach.  Requiring that the user set up a virtual host is
more overhead.  The approach Manfred presented is direct, and doesn't
require the setup of a virtual host.  I'd urge that this approach be
added to the documentation.

FWIW,
     -Steve

On 1/23/2012 5:06 PM, Mark D. Roberts wrote:

> On 1/22/2012 2:01 AM, Manfred Kohl wrote:
>> the docs in WebServerConfig.pdf seem a bit outdated.
> Could you be specific? Which part of the documentation? Page numbers?
>
> Actually, the use of a proxy is already documented in that guide -- see
> "Configuring VisualWorks to use an Apache Proxy" on page 5-2.
>
> It explains the steps to use Apache 2.0.
>
> If there is a problem with that discussion, please let us know.
>
> Regards,
>
> M. Roberts
> Cincom Systems, Inc.
>
>> I think I found an easier way (apache2)
>>
>> 1. check that proxy module is loaded
>> LoadModule proxy_module libexec/apache2/mod_proxy.so
>>
>>
>> 2. Add lines to apache2 httpd.conf
>> example:  lines for sites configuration and WebTutorial  (sandbox and teach sites)
>>
>> ProxyPass /teach http://localhost:8008/teach
>> ProxyPassReverse /teach http://localhost:8008/teach
>>
>> ProxyPass /configure http://localhost:8008/configure
>> ProxyPassReverse /configure http://localhost:8008/configure
>>
>> ProxyPass /sandbox http://localhost:8008/sandbox
>> ProxyPassReverse /sandbox http://localhost:8008/sandbox
>>
>>
>> regards
>>
>> Manfred Kohl
>>
>>
>>
>>
>> _______________________________________________
>> vwnc mailing list
>> [hidden email]
>> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Configure apache for visualworks/wave application server

Mark Roberts
Thanks, I can add an AR to amend the documentation. While we're on the
topic, I'd like to clarify one other point.

A "simple" approach is certainly desirable, but something that can be
put into production is also desirable.

Is there a simple way to use the ProxyPass and ProxyPassReverse
directives, but without creating an open proxy? What is the correct way
to configure Apache for this?

Regards,

M. Roberts
Cincom Systems, Inc.

On 1/25/2012 3:07 AM, Steve Whitson wrote:

> I wouldn't say the information on page 5-2 is wrong, just not the
> simplest approach.  Requiring that the user set up a virtual host is
> more overhead.  The approach Manfred presented is direct, and doesn't
> require the setup of a virtual host.  I'd urge that this approach be
> added to the documentation.
>
> FWIW,
>     -Steve
>
> On 1/23/2012 5:06 PM, Mark D. Roberts wrote:
>> On 1/22/2012 2:01 AM, Manfred Kohl wrote:
>>> the docs in WebServerConfig.pdf seem a bit outdated.
>> Could you be specific? Which part of the documentation? Page numbers?
>>
>> Actually, the use of a proxy is already documented in that guide -- see
>> "Configuring VisualWorks to use an Apache Proxy" on page 5-2.
>>
>> It explains the steps to use Apache 2.0.
>>
>> If there is a problem with that discussion, please let us know.
>>
>> Regards,
>>
>> M. Roberts
>> Cincom Systems, Inc.
>>
>>> I think I found an easier way (apache2)
>>>
>>> 1. check that proxy module is loaded
>>>     LoadModule proxy_module libexec/apache2/mod_proxy.so
>>>
>>>
>>> 2. Add lines to apache2 httpd.conf
>>> example:  lines for sites configuration and WebTutorial  (sandbox
>>> and teach sites)
>>>
>>> ProxyPass /teach http://localhost:8008/teach
>>> ProxyPassReverse /teach http://localhost:8008/teach
>>>
>>> ProxyPass /configure http://localhost:8008/configure
>>> ProxyPassReverse /configure http://localhost:8008/configure
>>>
>>> ProxyPass /sandbox http://localhost:8008/sandbox
>>> ProxyPassReverse /sandbox http://localhost:8008/sandbox
>>>
>>>
>>> regards
>>>
>>> Manfred Kohl
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> vwnc mailing list
>>> [hidden email]
>>> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>> _______________________________________________
>> vwnc mailing list
>> [hidden email]
>> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc