<!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 &lt;seaside-bounces@lists.squeakfoundation.org&gt;<BR>
To: maarten.mostert@wanadoo.fr &lt;maarten.mostert@wanadoo.fr&gt;; Seaside - general discussion &lt;seaside@lists.squeakfoundation.org&gt;<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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ProxyPass /yourapp/ <A HREF="http://ip_of_your_internal_swazoo:port/">http://ip_of_your_internal_swazoo:port/</A> &lt;<A HREF="http://ip_of_your_internal_swazoo:port/">http://ip_of_your_internal_swazoo:port/</A>&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ProxyPassReverse /yourapp/ <A HREF="http://ip_of_your_internal_swazoo:port/">http://ip_of_your_internal_swazoo:port/</A><BR>
<BR>
in your &lt;VirtualHost&gt; 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 &lt; maarten.mostert@wanadoo.fr &lt;<A HREF="mailto:maarten.mostert@wanadoo.fr">mailto:maarten.mostert@wanadoo.fr</A>&gt; &gt; wrote:<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hi,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; According to the Seaside Faq: &quot;You can run Seaside under VisualWorks behind Apache using either the the CGI gateway or the CGI Perl Interface.&quot; it furhter indicates numerous reasons why this does not work out of the box under 7.3.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Is this still true under 7.5 ?.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To install the gateway for use with Apache 1.3 running under RedHat 7.1:<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 Login as root.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2 Copy the Linux CGI gateway (/waveserver/waverelays/cgi/linux86/cgi2vw) to the /var/www/cgi-bin directory.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; As I hardly understand anything here I try to follow the documentation for as far as I can.<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; My problem now is that I don't have a /var/www/cgi-bin directory, so where should I copy this &lt;relay&gt; file ?<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Rgrds,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; @+Maarten,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _______________________________________________<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; seaside mailing list<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; seaside@lists.squeakfoundation.org &lt;<A HREF="mailto:seaside@lists.squeakfoundation.org">mailto:seaside@lists.squeakfoundation.org</A>&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A HREF="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A> &lt;<A HREF="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A>&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>