<!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> </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> </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> </DIV>
<DIV> </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> </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> </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> </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> </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> </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> </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> </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> </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> </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> </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">>
Boris Popov a écrit :
<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>> <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: <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>>
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>>
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/"
moz-do-not-send="true">http://ip_of_your_internal_swazoo:port/</A> <<A
href="http://ip_of_your_internal_swazoo:port/"
moz-do-not-send="true">http://ip_of_your_internal_swazoo:port/</A>><BR>>
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>>
<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 < <A
class=moz-txt-link-abbreviated
href="mailto:maarten.mostert@wanadoo.fr">maarten.mostert@wanadoo.fr</A>
<<A href="mailto:maarten.mostert@wanadoo.fr"
moz-do-not-send="true">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>>
<A
class=moz-txt-link-abbreviated
href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</A>
<<A href="mailto:seaside@lists.squeakfoundation.org"
moz-do-not-send="true">mailto:seaside@lists.squeakfoundation.org</A>><BR>>
<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>
<<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>><BR>>
<BR>>
<BR>> <BR>> <BR>>
</FONT></P></BLOCKQUOTE><BR>> </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>