Thanks Maarten, <br>Before I read your post, I was able to partially fix my httpd.conf. <br>I was just missing a "/" before the "$1 [P,L]", so Apache was mapping all "/seaside/*" to "/seaside",
<br>e.g. <a href="http://localhost/seaside/go" target="_top" rel="nofollow">http://localhost/seaside/go</a> -> mapped to -> <a href="http://localhost:7777/seasidego" target="_top" rel="nofollow">http://localhost:7777/seasidego</a> instead of <a href="http://localhost:7777/seaside/go" target="_top" rel="nofollow">http://localhost:7777/seaside/go</a>
<br><br>here is the fixed httpd.conf, each request starting with /seaside/ is mapped to the seaside server. <br><br> NameVirtualHost *:80
<br><br> <VirtualHost *:80>
<br> ServerName localhost
<br> RewriteEngine On
<br> ProxyVia Block
<br> ProxyPreserveHost On
<br> RewriteRule ^/seaside/(.*)$ <a href="http://localhost:7777/seaside/$1" target="_top" rel="nofollow">http://localhost:7777/seaside/$1</a> [P,L] # I was missing the last "/" before the "$1 [P,L]"
<br> </VirtualHost>
<br><br><br>The problem I have, now is different. <br>Requests are being handled by Apache and redirected to the Smalltalk server, but, when submitting forms, I get a page saying "Method not implemented". No problems when browsing, but when it comes to submitting forms, always a "Method not implemented" page. <br>
I didn't have much time to see what is going wrong. Hopefully someone had this problem before and can lend me a hand.. <br>Thanks, greetings.<br>Leandro<br><br><br><br><div class="gmail_quote">On Tue, May 27, 2008 at 12:20 PM, Maarten MOSTERT <<a href="mailto:maarten.mostert@wanadoo.fr">maarten.mostert@wanadoo.fr</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><p><font size="1">Hi,<br><br>Configuring Apache is a real pain job and not so much documented. However I run with the same configuration as you do VW's TinyHttp and Apache 2.061 on a low cost VPN offering sharing many things through Apache.<br>
<br>It might not be perfect but here you go for my httpd.conf. Don't forget to write ALL the file libraries to your public directory respecting the file structure.<br><br>Rgrds,</font></p><p><font size="1"></font></p>
<p><font size="1">@+Maarten,</font></p><p><font size="1"><br>===============================================<br></font></p><p><font size="1"><VirtualHost <a href="http://193.34.17.215:80" target="_blank">193.34.17.215:80</a>> </font></p>
<p><font size="1">ServerName <a href="http://mydomain.com" target="_blank">mydomain.com</a></font></p><p><font size="1">ServerAlias <a href="http://www.mydomain.com" target="_blank">www.mydomain.com</a></font></p><p><font size="1">RewriteEngine On</font></p>
<p><font size="1">RewriteRule ^/$ /index [R]</font></p><p><font size="1"># DocumentRoot /home/maarten/public_html</font></p><p><font size="1"># only allow Seaside rewrite rule to fire, when request doesn't match an existing file</font></p>
<p><font size="1"># RewriteCond /home/maarten/public_html/%{REQUEST_FILENAME} !-f</font></p><p><font size="1"># if no file was found, proxy the request to Seaside</font></p><p><font size="1"># RewriteRule ^/(.*)$ <a href="http://localhost:8888/index/" target="_blank">http://localhost:8888/index/</a> [P,L]</font></p>
<p><font size="1"># Set up general proxy properties</font></p><p><font size="1">ProxyRequests Off</font></p><p><font size="1">ProxyPreserveHost On</font></p><p><font size="1"><Proxy *></font></p><p><font size="1">Order deny,allow</font></p>
<p><font size="1">Allow from none</font></p><p><font size="1"></Proxy></font></p><p><font size="1"># Set up main application URL</font></p><p><font size="1"><Location /index></font></p><p><font size="1">Order deny,allow</font></p>
<p><font size="1">Allow from all</font></p><p><font size="1"># Proxy all requests to /home down to the actual host running Seaside</font></p><p><font size="1"></font></p><p><font size="1">ProxyPass <a href="http://193.34.17.215:8888/index" target="_blank">http://193.34.17.215:8888/index</a></font></p>
<p><font size="1">ProxyPassReverse <a href="http://193.34.17.215:8888/index" target="_blank">http://193.34.17.215:8888/index</a></font></p><p><font size="1"></font></p><p><font size="1"></Location></font></p><p><font size="1"># Additional aliases to serve files normally served by Seaside;</font></p>
<p><font size="1"># this is a simple optimization to reduce load on the app server</font></p><p><font size="1"># by letting Apache do what it does best, serve static files;</font></p><p><font size="1"># normally in development these directories are served by Seaside</font></p>
<p><font size="1"># to keep development environment simpler</font></p><p><font size="1">Alias /files /home/maarten/public_html/files</font></p><p><font size="1">Alias /images /home/maarten/public_html/images</font></p><p>
<font size="1"># Alias /css /home/maarten/public_html/css</font></p><p><font size="1"><Directory /home/maarten/public_html></font></p><p><font size="1"><Limit GET></font></p><p><font size="1">Order allow,deny</font></p>
<p><font size="1">Allow from all</font></p><p><font size="1"></Limit></font></p><p><font size="1"></Directory></font><br></p></blockquote></div><br>