<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>Re: [Seaside] How to deploy Seaside VisualWorks behing Apache</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>You forgot to enable preserve host.<BR>
<BR>
Cheers!<BR>
<BR>
-Boris<BR>
(Sent from a BlackBerry)<BR>
<BR>
----- Original Message -----<BR>
From: seaside-bounces@lists.squeakfoundation.org <seaside-bounces@lists.squeakfoundation.org><BR>
To: maarten.mostert@wanadoo.fr <maarten.mostert@wanadoo.fr>; Seaside - general discussion <seaside@lists.squeakfoundation.org><BR>
Sent: Thu Oct 18 01:55:55 2007<BR>
Subject: Re: [Seaside] How to deploy Seaside VisualWorks behing Apache<BR>
<BR>
FWIW,<BR>
<BR>
Over here we don't use the cgi or cgi-perl gateway but apache mod_proxy.<BR>
<BR>
Configure your httpd.conf with:<BR>
<BR>
ProxyPass /yourapp/ <A HREF="http://ip_of_your_internal_swazoo:port/">http://ip_of_your_internal_swazoo:port/</A> <<A HREF="http://ip_of_your_internal_swazoo:port/">http://ip_of_your_internal_swazoo:port/</A>><BR>
ProxyPassReverse /yourapp/ <A HREF="http://ip_of_your_internal_swazoo:port/">http://ip_of_your_internal_swazoo:port/</A><BR>
<BR>
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.<BR>
<BR>
HTH,<BR>
<BR>
Wouter<BR>
<BR>
<BR>
On 10/11/07, Maarten Mostert < maarten.mostert@wanadoo.fr <<A HREF="mailto:maarten.mostert@wanadoo.fr">mailto:maarten.mostert@wanadoo.fr</A>> > wrote:<BR>
<BR>
Hi,<BR>
<BR>
I have a VW-seaside application which I want to run on a dedicated remote server with Fedora 5, Cpanel and Apache 1.3.<BR>
<BR>
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.<BR>
<BR>
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.<BR>
<BR>
Is this still true under 7.5 ?.<BR>
<BR>
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:<BR>
<BR>
To install the gateway for use with Apache 1.3 running under RedHat 7.1:<BR>
1 Login as root.<BR>
2 Copy the Linux CGI gateway (/waveserver/waverelays/cgi/linux86/cgi2vw) to the /var/www/cgi-bin directory.<BR>
<BR>
As I hardly understand anything here I try to follow the documentation for as far as I can.<BR>
<BR>
My problem now is that I don't have a /var/www/cgi-bin directory, so where should I copy this <relay> file ?<BR>
<BR>
Rgrds,<BR>
<BR>
@+Maarten,<BR>
<BR>
<BR>
<BR>
_______________________________________________<BR>
seaside mailing list<BR>
seaside@lists.squeakfoundation.org <<A HREF="mailto:seaside@lists.squeakfoundation.org">mailto:seaside@lists.squeakfoundation.org</A>><BR>
<A HREF="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A> <<A HREF="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A>><BR>
<BR>
<BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>