[Seaside] Seaside as backend of apache
Sebastian Sastre
ssastre at seaswork.com
Mon Mar 12 19:17:43 UTC 2007
Hi there,
I'm trying to use in linux an apache as front end and seaside images
(squeak) as backend for some seaside applications.
I have to configure a someDomain.com for them and access the
applications as subdirs for instance:
someDomain.com/KillerApp1
someDomain.com/KillerApp2
They will need to use SSL and probable load balance but for now I've
started simple and I want just someDomain.com/KillerApp1 with http. So..
this is probably more an apache issue but is also a realistic seaside
production issue so sooner or later we need to deal with this to produce
real value with Seaside.
I've set the virtual host for that someDomain.com/KillerApp1 like this
...
<VirtualHost someInternalIP:80>
ServerName www.someDomain.com
ServerAdmin admin at someDomain.com
DocumentRoot /srv/www/someDomain.com/
ProxyRequests Off
ProxyPreserveHost On
<Location />
Order deny,allow
Allow from all
ProxyPass http://localhost:9090/seaside/
ProxyPassReverse http://localhost:9090/seaside/
</Location>
# <Proxy *>
# Order Deny,Allow
# Deny from all
# Allow from 192.168.1
# </Proxy>
<Directory "/srv/www/someDomain.com/">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
...
here is the access_log's tail after requesting someDomain.com/KillerApp1
from links internet browser in an external network
87.219.84.98 - - [12/Mar/2007:16:10:03 -0300] "GET
/seaside/KillerApp1?_k=LmXMZuwW&_s=kQJrsIPTnYrxlcSh&1 HTTP/1.1" 302 - "-"
"Links (2.1pre18; Linux 2.6.16.13-4-default i686; 102x23)"
87.219.84.98 - - [12/Mar/2007:16:10:04 -0300] "GET
/seaside/seaside/KillerApp1 HTTP/1.1" 200 2440 "-" "Links (2.1pre18; Linux
2.6.16.13-4-default i686; 102x23)"
87.219.84.98 - - [12/Mar/2007:16:10:05 -0300] "GET
/seaside/files/WAStandardFiles/externalAnchors.js HTTP/1.1" 200 2440 "-"
"Links (2.1pre18; Linux 2.6.16.13-4-default i686; 102x23)"
87.219.84.98 - - [12/Mar/2007:16:10:05 -0300] "GET
/seaside/files/WAStandardFiles/misc.js HTTP/1.1" 200 2440 "-" "Links
(2.1pre18; Linux 2.6.16.13-4-default i686; 102x23)"
87.219.84.98 - - [12/Mar/2007:16:10:05 -0300] "GET
/seaside/files/WAStandardFiles/shortcuts.js HTTP/1.1" 200 2440 "-" "Links
(2.1pre18; Linux 2.6.16.13-4-default i686; 102x23)"
In the image transcript I can also see that /seaside/ is concatenating more
than once.
any clue on what is wrong?
Sebastian Sastre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20070312/fa4313bb/attachment-0001.htm
More information about the Seaside
mailing list