How to deploy Seaside VisualWorks behing Apache

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

How to deploy Seaside VisualWorks behing Apache

Maarten Mostert-2
Hi,

I have a VW-seaside application which I want to run on a dedicated remote server with Fedora 5, Cpanel and Apache 1.3.

I stripped my image to headless (avoiding the X console error) and this responds nicely on my localhost XP box and starts correctly on the remote server.

According to the Seaside Faq: "You can run Seaside under VisualWorks behind Apache using either the the CGI gateway or the CGI Perl Interface." it furhter indicates numerous reasons why this does not work out of the box under 7.3.

Is this still true under 7.5 ?.

If I understood well this server subject brings me back to the Webserver config documentation on page 87 which gives a sample installation for Linux Apache stating:

To install the gateway for use with Apache 1.3 running under RedHat 7.1:
1 Login as root.
2 Copy the Linux CGI gateway (/waveserver/waverelays/cgi/linux86/cgi2vw) to the /var/www/cgi-bin directory.

As I hardly understand anything here I try to follow the documentation for as far as I can.

My problem now is that I don't have a /var/www/cgi-bin directory, so where should I copy this <relay> file ?

Rgrds,

@+Maarten,



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: How to deploy Seaside VisualWorks behing Apache

Wouter Gazendam
FWIW,

Over here we don't use the cgi or cgi-perl gateway but apache mod_proxy.

Configure your httpd.conf with:

        ProxyPass /yourapp/ <a href="http://ip_of_your_internal_swazoo:port/">http://ip_of_your_internal_swazoo:port/
        ProxyPassReverse /yourapp/ <a href="http://ip_of_your_internal_swazoo:port/">http://ip_of_your_internal_swazoo:port/

in your <VirtualHost> section. And have the mod_proxy (in apache 2.0 or 2.2 the proxy, proxy_connect and proxy_http) modules enabled.

HTH,

Wouter

On 10/11/07, Maarten Mostert <[hidden email]> wrote:
Hi,

I have a VW-seaside application which I want to run on a dedicated remote server with Fedora 5, Cpanel and Apache 1.3.

I stripped my image to headless (avoiding the X console error) and this responds nicely on my localhost XP box and starts correctly on the remote server.

According to the Seaside Faq: "You can run Seaside under VisualWorks behind Apache using either the the CGI gateway or the CGI Perl Interface." it furhter indicates numerous reasons why this does not work out of the box under 7.3.

Is this still true under 7.5 ?.

If I understood well this server subject brings me back to the Webserver config documentation on page 87 which gives a sample installation for Linux Apache stating:

To install the gateway for use with Apache 1.3 running under RedHat 7.1:
1 Login as root.
2 Copy the Linux CGI gateway (/waveserver/waverelays/cgi/linux86/cgi2vw) to the /var/www/cgi-bin directory.

As I hardly understand anything here I try to follow the documentation for as far as I can.

My problem now is that I don't have a /var/www/cgi-bin directory, so where should I copy this <relay> file ?

Rgrds,

@+Maarten,



_______________________________________________
seaside mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: How to deploy Seaside VisualWorks behing Apache

Boris Popov, DeepCove Labs (SNN)
In reply to this post by Maarten Mostert-2
Re: [Seaside] How to deploy Seaside VisualWorks behing Apache

You forgot to enable preserve host.

Cheers!

-Boris
(Sent from a BlackBerry)

----- Original Message -----
From: [hidden email] <[hidden email]>
To: [hidden email] <[hidden email]>; Seaside - general discussion <[hidden email]>
Sent: Thu Oct 18 01:55:55 2007
Subject: Re: [Seaside] How to deploy Seaside VisualWorks behing Apache

FWIW,

Over here we don't use the cgi or cgi-perl gateway but apache mod_proxy.

Configure your httpd.conf with:

        ProxyPass /yourapp/ <A HREF="http://ip_of_your_internal_swazoo:port/">http://ip_of_your_internal_swazoo:port/ <<A HREF="http://ip_of_your_internal_swazoo:port/">http://ip_of_your_internal_swazoo:port/>
        ProxyPassReverse /yourapp/ <A HREF="http://ip_of_your_internal_swazoo:port/">http://ip_of_your_internal_swazoo:port/

in your <VirtualHost> section. And have the mod_proxy (in apache 2.0 or 2.2 the proxy, proxy_connect and proxy_http) modules enabled.

HTH,

Wouter


On 10/11/07, Maarten Mostert < [hidden email] <[hidden email]> > wrote:

        Hi,
       
        I have a VW-seaside application which I want to run on a dedicated remote server with Fedora 5, Cpanel and Apache 1.3.
       
        I stripped my image to headless (avoiding the X console error) and this responds nicely on my localhost XP box and starts correctly on the remote server.
       
        According to the Seaside Faq: "You can run Seaside under VisualWorks behind Apache using either the the CGI gateway or the CGI Perl Interface." it furhter indicates numerous reasons why this does not work out of the box under 7.3.
       
        Is this still true under 7.5 ?.
       
        If I understood well this server subject brings me back to the Webserver config documentation on page 87 which gives a sample installation for Linux Apache stating:
       
        To install the gateway for use with Apache 1.3 running under RedHat 7.1:
        1 Login as root.
        2 Copy the Linux CGI gateway (/waveserver/waverelays/cgi/linux86/cgi2vw) to the /var/www/cgi-bin directory.
       
        As I hardly understand anything here I try to follow the documentation for as far as I can.
       
        My problem now is that I don't have a /var/www/cgi-bin directory, so where should I copy this <relay> file ?
       
        Rgrds,
       
        @+Maarten,
       
       

        _______________________________________________
        seaside mailing list
        [hidden email] <[hidden email]>
        http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside <http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside>
       
       



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside