[Seaside] KomServices

Ramon Leon rleon at insario.com
Mon Mar 20 17:03:57 UTC 2006


> 
> Sorry, I should have been more specific.  You want to modify  
> TcpListener>>pvtNewListener:.
> 
> Avi
> _______________________________________________

OK, I gave up on binding to an IP after crashing the image several
times.  I decided to try the Apache approach, and use rewrite rules.
Setup Apache on my windows box, setup virtual hosting with something
like the following:

NameVirtualHost *:80

<VirtualHost *:80>
    ServerName subdomainOne.mydomain.com
    RewriteEngine On
    RewriteRule ^/(.*)$ http://localhost:81/$1 [P,L]
</VirtualHost>

<VirtualHost *:80>
    ServerName www.goodiebagsparties.com
    RewriteEngine On
    RewriteRule ^/(.*)$ http://localhost:92/$1 [P,L]
</VirtualHost>

<VirtualHost *:80>
    ServerName subdomainTwo.mydomain.com
    RewriteEngine On
    RewriteRule ^/taskManager(.*)$
http://localhost:94/seaside/taskManager/$1 [P,L]
    RewriteRule ^/customerManager(.*)$
http://localhost:94/seaside/customerManager/$1 [P,L]
    RewriteRule ^/qhm(.*)$ http://localhost:93/seaside/qhm/$1 [P,L]
</VirtualHost>

And for the most part, things work fine, until I try and upload a file,
at which point I get

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET
/goodieBags/SCAdminHome.

Reason: Error reading from remote server

Anyone have an idea why everything works except for uploading files?


More information about the Seaside mailing list