[Seaside] ProxyPass and the P Option
renggli at gmail.com
Mon Nov 5 18:52:19 UTC 2007
> Server Hostname to www.mysite.com
> Server Path to ??
All these 'Server ...' settings tell Seaside how to generate absolute
URLs. These settings are not used for the lookup, just to generate
URLs in HTTP responses and the associated HTML contents (anchors,
forms). There is absolutely no magic behind it.
If you want to run your application 'appname' on
'http://www.mysite.com/somewhere/?_s=123123' use the following setup.
Replace any part of the configuration with YOUR settings. Comments are
enclosed in square brakets and a number.
Server Protocol: http 
Server Host: www.mysite.com 
Server Port: 80 
Server Path: /somewhere/
RewriteRule ^/somewhere/(.*)$ http://localhost:8080/seaside/appname/$1 [P,L] 
 Leave blank, if ProxyPreserveHost On
 Unfortunately Cincom decided to go with a different setup. You
probably need to replace /seaside/appname/ with something like
/seaside/go/appname/ in VisualWorks. Check with your Cincom for
More information about the seaside