[Seaside] Seaside and Apache, httpd.conf issue
ed.stow at gmail.com
Wed May 28 23:25:56 UTC 2008
On Wed, May 28, 2008 at 9:52 PM, Leandro Perez <leandromperez at gmail.com> wrote:
> Thanks Maarten,
> Before I read your post, I was able to partially fix my httpd.conf.
> I was just missing a "/" before the "$1 [P,L]", so Apache was mapping all
> "/seaside/*" to "/seaside",
> e.g. http://localhost/seaside/go -> mapped to ->
> http://localhost:7777/seasidego instead of http://localhost:7777/seaside/go
> here is the fixed httpd.conf, each request starting with /seaside/ is mapped
> to the seaside server.
> NameVirtualHost *:80
> <VirtualHost *:80>
> ServerName localhost
> RewriteEngine On
> ProxyVia Block
> ProxyPreserveHost On
> RewriteRule ^/seaside/(.*)$ http://localhost:7777/seaside/$1 [P,L] #
> I was missing the last "/" before the "$1 [P,L]"
> The problem I have, now is different.
> 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.
> I didn't have much time to see what is going wrong. Hopefully someone had
> this problem before and can lend me a hand..
Something that catches me out is failing to enable the subordinate
proxy modules. Not sure if this is your problem however.
See http://httpd.apache.org/docs/2.0/mod/mod_proxy.html, 2nd paragraph.
More information about the seaside