<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office" xmlns:st1 = 
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.3199" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>There are two fairly simple ways to deploy on 
Apache, neither of which involves recompilation.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>1) Use the Perl CGI relay, and just edit the Perl 
file to fit your needs</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>2) Use Apache Proxy Port support, and just have 
Apache forward requests to the VW server</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=maarten.mostert@wanadoo.fr 
  href="mailto:maarten.mostert@wanadoo.fr">Maarten MOSTERT</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=seaside@lists.squeakfoundation.org 
  href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, October 30, 2007 8:44 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Seaside] How to deploy 
  Seaside VisualWorks behing Apache</DIV>
  <DIV><BR></DIV>
  <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
  style="LAYOUT-GRID-MODE: both; mso-bidi-font-family: Arial">Hi,<o:p></o:p></SPAN></P>
  <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
  style="LAYOUT-GRID-MODE: both; mso-bidi-font-family: Arial"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB 
  style="LAYOUT-GRID-MODE: both; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB">Thanks 
  for the previous replies. Having said that this <st1:City w:st="on"><st1:place 
  w:st="on">Seaside</st1:place></st1:City> hosting thing really is a pain 
  job.<o:p></o:p></SPAN></P>
  <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB 
  style="LAYOUT-GRID-MODE: both; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB 
  style="LAYOUT-GRID-MODE: both; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB">For 
  the additional apache modules I seem to need to recompile my Apache 
  distribution 2.061 setting compiler flags in the rebuild configuration file. I 
  managed to do this rebuild and reinstall on my local Linux machine but there 
  seems to be some subtle difference in loading these modules at runtime or 
  including them during a rebuild. If anyone has an apache configuration file 
  that works and which I can compare with mine then that would be very 
  welcome.<o:p></o:p></SPAN></P>
  <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB 
  style="LAYOUT-GRID-MODE: both; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB 
  style="LAYOUT-GRID-MODE: both; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB">I 
  separately continued with VW’s waveserver to try to install the cgi relay as 
  it has this merit of being well documented.<o:p></o:p></SPAN></P>
  <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB 
  style="LAYOUT-GRID-MODE: both; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB 
  style="LAYOUT-GRID-MODE: both; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB">I 
  still don’ know much from Linux so I tried the example on page 87 of the 
  WebServerConfig.pdf which among other things states:<o:p></o:p></SPAN></P>
  <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB 
  style="LAYOUT-GRID-MODE: both; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB 
  style="LAYOUT-GRID-MODE: both; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB; mso-bidi-font-weight: bold">7 
  </SPAN><SPAN lang=EN-GB 
  style="LAYOUT-GRID-MODE: both; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB">Make 
  both the directory and the file readable by the <SPAN 
  style="mso-bidi-font-weight: bold">apache </SPAN>group.<o:p></o:p></SPAN></P>
  <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 35.4pt"><SPAN lang=EN-GB 
  style="LAYOUT-GRID-MODE: both; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB; mso-bidi-font-weight: bold"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 35.4pt"><SPAN lang=EN-GB 
  style="LAYOUT-GRID-MODE: both; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB; mso-bidi-font-weight: bold">chown 
  -R root.apache /etc/VisualWave<o:p></o:p></SPAN></P>
  <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 35.4pt"><SPAN lang=EN-GB 
  style="LAYOUT-GRID-MODE: both; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 35.4pt"><SPAN lang=EN-GB 
  style="LAYOUT-GRID-MODE: both; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB; mso-bidi-font-weight: bold">chmod 
  -R g+r /etc/VisualWave</SPAN><SPAN lang=EN-GB 
  style="LAYOUT-GRID-MODE: both; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB"><o:p></o:p></SPAN></P>
  <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB 
  style="LAYOUT-GRID-MODE: both; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB 
  style="LAYOUT-GRID-MODE: both; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB">The 
  last comment showed an impressive list of errors before making my remote 
  machine inoperative without any network connection (No more Putty, FTP or 
  whatever) and ready to reinstall the OS (I love Linux). This command most 
  likely should have been something like:<B 
  style="mso-bidi-font-weight: normal"> </B></SPAN><SPAN class=SC9628><SPAN 
  lang=EN-GB 
  style="FONT-WEIGHT: normal; FONT-FAMILY: Arial; mso-bidi-font-family: Courier; mso-ansi-language: EN-GB; mso-bidi-font-weight: bold">chmod 
  +r /etc/VisualWave</SPAN></SPAN><SPAN class=SC9628><SPAN lang=EN-GB 
  style="FONT-FAMILY: Arial; mso-bidi-font-family: Courier; mso-ansi-language: EN-GB"><o:p></o:p></SPAN></SPAN></P>
  <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN class=SC9628><SPAN 
  lang=EN-GB 
  style="FONT-FAMILY: Arial; mso-bidi-font-family: Courier; mso-ansi-language: EN-GB"><o:p><STRONG>&nbsp;</STRONG></o:p></SPAN></SPAN></P>
  <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB 
  style="LAYOUT-GRID-MODE: both; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB">Rgrds,<o:p></o:p></SPAN></P>
  <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB 
  style="LAYOUT-GRID-MODE: both; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB 
  style="LAYOUT-GRID-MODE: both; mso-bidi-font-family: Arial; mso-ansi-language: EN-GB">@+Maarten,<o:p></o:p></SPAN></P><BR><BR><BR>
  <BLOCKQUOTE 
  style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #ff0000 2px solid">&gt; 
    Boris Popov a écrit&nbsp;: 
    <BLOCKQUOTE cite=mid:CBE458BB46D12C48A467980CEDA341210120B64D@Pondo.yvr.png 
    type="cite">
      <META content="MS Exchange Server version 6.5.7651.59" name=Generator><!-- Converted from text/plain format -->
      <P>&gt; <FONT size=2>You forgot to enable preserve host.<BR>&gt; <BR>&gt; 
      Cheers!<BR>&gt; <BR>&gt; -Boris<BR>&gt; (Sent from a BlackBerry)<BR>&gt; 
      <BR>&gt; ----- Original Message -----<BR>&gt; From: <A 
      class=moz-txt-link-abbreviated 
      href="mailto:seaside-bounces@lists.squeakfoundation.org">seaside-bounces@lists.squeakfoundation.org</A> 
      <A class=moz-txt-link-rfc2396E 
      href="mailto:seaside-bounces@lists.squeakfoundation.org"><SEASIDE-BOUNCES@LISTS.SQUEAKFOUNDATION.ORG></A><BR>&gt; 
      To: <A class=moz-txt-link-abbreviated 
      href="mailto:maarten.mostert@wanadoo.fr">maarten.mostert@wanadoo.fr</A> <A 
      class=moz-txt-link-rfc2396E 
      href="mailto:maarten.mostert@wanadoo.fr"><MAARTEN.MOSTERT@WANADOO.FR></A>; 
      Seaside - general discussion <A class=moz-txt-link-rfc2396E 
      href="mailto:seaside@lists.squeakfoundation.org"><SEASIDE@LISTS.SQUEAKFOUNDATION.ORG></A><BR>&gt; 
      Sent: Thu Oct 18 01:55:55 2007<BR>&gt; Subject: Re: [Seaside] How to 
      deploy Seaside VisualWorks behing Apache<BR>&gt; <BR>&gt; FWIW,<BR>&gt; 
      <BR>&gt; Over here we don't use the cgi or cgi-perl gateway but apache 
      mod_proxy.<BR>&gt; <BR>&gt; Configure your httpd.conf with:<BR>&gt; 
      <BR>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ProxyPass /yourapp/ <A 
      href="http://ip_of_your_internal_swazoo:port/" 
      moz-do-not-send="true">http://ip_of_your_internal_swazoo:port/</A> &lt;<A 
      href="http://ip_of_your_internal_swazoo:port/" 
      moz-do-not-send="true">http://ip_of_your_internal_swazoo:port/</A>&gt;<BR>&gt; 
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ProxyPassReverse /yourapp/ <A 
      href="http://ip_of_your_internal_swazoo:port/" 
      moz-do-not-send="true">http://ip_of_your_internal_swazoo:port/</A><BR>&gt; 
      <BR>&gt; 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>&gt; <BR>&gt; HTH,<BR>&gt; <BR>&gt; Wouter<BR>&gt; <BR>&gt; 
      <BR>&gt; On 10/11/07, Maarten Mostert &lt; <A 
      class=moz-txt-link-abbreviated 
      href="mailto:maarten.mostert@wanadoo.fr">maarten.mostert@wanadoo.fr</A> 
      &lt;<A href="mailto:maarten.mostert@wanadoo.fr" 
      moz-do-not-send="true">mailto:maarten.mostert@wanadoo.fr</A>&gt; &gt; 
      wrote:<BR>&gt; <BR>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      Hi,<BR>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&gt; 
      &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>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&gt; 
      &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>&gt; 
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&gt; 
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>&gt; 
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&gt; 
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Is this still true under 7.5 
      ?.<BR>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&gt; 
      &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>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&gt; 
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To install the gateway for use 
      with Apache 1.3 running under RedHat 7.1:<BR>&gt; 
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 Login as root.<BR>&gt; 
      &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>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&gt; 
      &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>&gt; 
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&gt; 
      &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 <RELAY>file 
      ?<BR>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&gt; 
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Rgrds,<BR>&gt; 
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&gt; 
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; @+Maarten,<BR>&gt; 
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&gt; 
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&gt; <BR>&gt; 
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      _______________________________________________<BR>&gt; 
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; seaside mailing list<BR>&gt; 
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A 
      class=moz-txt-link-abbreviated 
      href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</A> 
      &lt;<A href="mailto:seaside@lists.squeakfoundation.org" 
      moz-do-not-send="true">mailto:seaside@lists.squeakfoundation.org</A>&gt;<BR>&gt; 
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A 
      href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" 
      moz-do-not-send="true">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A> 
      &lt;<A 
      href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" 
      moz-do-not-send="true">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A>&gt;<BR>&gt; 
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&gt; 
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&gt; <BR>&gt; <BR>&gt; 
      </FONT></P></BLOCKQUOTE><BR>&gt; </BLOCKQUOTE>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>seaside mailing 
  list<BR>seaside@lists.squeakfoundation.org<BR>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<BR></BLOCKQUOTE></BODY></HTML>