[Seaside] Possible OT: Strange Seaside/VW oddity -- Is there some
sort of cacheing in Seaside/VW or ??
Rick Flower
rickf at ca-flower.com
Fri Mar 24 22:20:16 UTC 2006
I've got what I believe should be a URL that maps to a css file in my
file system hierarchy.. However, when I try to get it using "wget" (on
Unix) or Firefox, instead of getting the contents of the css file, I get
the main site page for my seaside site instead.. I've even got a truss
output showing what I'm seeing..
Here's my CSS file for reference (css/screen.css) :
/* typography rules */
@import url("typo.css");
/* main layout */
@import url("layout.css");
Here's the output from truss attached to my VW session and the resulting
output after I do a get of the css file.. Is this normal or am I seeing
things? For the output below, look for the "write(9, ..." to see the
output of what should be the CSS file.. If anyone believe's this to be
a VW issue, I'll pester that list I guess.. Just not sure what I'm doing
wrong here or if anyones seen this before with VW/Seaside..
-- Rick
--- SIGIO (I/O possible) @ 0 (0) ---
rt_sigreturn(0x400) = 1
getitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={8, 628688}}) = 0
ioctl(3, FIONREAD, [0]) = 0
select(4, [3], NULL, NULL, {0, 0}) = 0 (Timeout)
select(1024, [7], [], [7], {0, 0}) = 1 (in [7], left {0, 0})
rt_sigprocmask(SIG_SETMASK, [FPE PIPE ALRM TERM CHLD URG IO], NULL, 8) = 0
accept(7, {sa_family=AF_INET, sin_port=htons(54675),
sin_addr=inet_addr("10.0.1.198")}, [16]) = 9
fcntl64(9, F_SETFD, FD_CLOEXEC) = 0
fcntl64(9, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(9, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl64(9, F_SETOWN, 9664) = 0
fcntl64(9, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl64(9, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [FPE PIPE ALRM TERM CHLD URG IO], NULL, 8) = 0
getpeername(9, {sa_family=AF_INET, sin_port=htons(54675),
sin_addr=inet_addr("10.0.1.198")}, [16]) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(1024, [7], NULL, NULL, {0, 0}) = 0 (Timeout)
gettimeofday({1143238253, 380208}, NULL) = 0
rt_sigprocmask(SIG_SETMASK, [FPE PIPE ALRM TERM CHLD URG IO], NULL, 8) = 0
read(9, "GET /seaside/go/mywebapp/css/screen.css HTTP/1.0\r\nHost:
10.0.1.198:8008\r\nUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0;
en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7\r\nAccept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\nAccept-Language:
en-us,en;q=0.5\r\nAccept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nAuthorization: Basic
c2Vhc2lkZTphZG1pbg==\r\nCookie:
VW-WTK-sessionkey=6366233203123413320341141380\r\nConnection:
close\r\n\r\n", 20480) = 484
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [FPE PIPE ALRM TERM CHLD URG IO], NULL, 8) = 0
getpeername(9, {sa_family=AF_INET, sin_port=htons(54675),
sin_addr=inet_addr("10.0.1.198")}, [16]) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
gettimeofday({1143238253, 385688}, NULL) = 0
gettimeofday({1143238253, 386958}, NULL) = 0
gettimeofday({1143238253, 392559}, NULL) = 0
gettimeofday({1143238253, 392992}, NULL) = 0
gettimeofday({1143238253, 393343}, NULL) = 0
gettimeofday({1143238253, 398669}, NULL) = 0
gettimeofday({1143238253, 403968}, NULL) = 0
gettimeofday({1143238253, 409631}, NULL) = 0
rt_sigprocmask(SIG_SETMASK, [FPE PIPE ALRM TERM CHLD URG IO], NULL, 8) = 0
write(9, "HTTP/1.0 200
\r\ncache-control:No-cache\r\ncontent-type:text/html;
charset=utf-8\r\ncache-control:no-cache\r\nexpires:-1\r\npragma:no-cache\r\ndate:Fri,
24 Mar 2006 22:10:53 GMT\r\nserver:Cincom Smalltalk VisualWorks
7.4\r\nmime-version:1.0\r\n\r\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML
1.0
Transitional//EN\"\r\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"><html
xml:lang=\"en\" xmlns=\"http://www.w3.org/1999/xhtml\"
lang=\"en\"><head><title>Seaside</title><meta content=\"text/html;
charset=utf-8\" http-equiv=\"Content-Type\"></meta><link
rel=\"stylesheet\" type=\"text/css\"
href=\"/mywebapp/css/screen.css\"></link><link rel=\"stylesheet\"
type=\"text/css\" href=\"/seaside/go/mywebapp?_s=tTvpKbsoujWNqKWn\"
/><link rel=\"stylesheet\" type=\"text/css\"
href=\"/seaside/go/mywebapp?_s=VfuOOOWjuNvihnmh\" /><link
rel=\"stylesheet\" type=\"text/css\"
href=\"/seaside/go/mywebapp?_s=SxebOoDlIuTtalJi\" /><link
rel=\"stylesheet\" type=\"text/css\"
href=\"/seaside/go/mywebapp?_s=uunxmzFkVAIpxmAc\" /><link
rel=\"stylesheet\" type=\"text/css\"
href=\"/seaside/go/mywebapp?_s=tgJovPuAlGfOZtZC\" /><script
type=\"text/javascript\"
src=\"/seaside/go/mywebapp?_s=EnCzDYdZvpqwfMQB\"></script><script
type=\"text/javascript\"
src=\"/seaside/go/mywebapp?_s=hypubVcsaqdhlOZX\"></script></head><body
onload=\"onLoad()\" onkeydown=\"onKeyDown(event)\"><div
id=\"frameContent\"><div id=\"container\"><div id=\"header\"></div><div
id=\"mainnav\"><ul><li><a
href=\"?_s=fRPJDoVKyziFKqIC&_k=HdFZkVJf&1\">Home</a></li><li><a
href=\"?_s=fRPJDoVKyziFKqIC&_k=HdFZkVJf&2\">About
My-WebApp</a></li><li><a
href=\"?_s=fRPJDoVKyziFKqIC&_k=HdFZkVJf&3\">Enroll</a></li><li><a
href=\"?_s=fRPJDoVKyziFKqIC&_k=HdFZkVJf&4\">Contact
Us</a></li></ul></div><div style=\"height: 300px\"><div
id=\"loginLeftBox\"><br /><form method=\"post\"><br /><br />Username:<br
/><input name=\"5\" value=\"\" type=\"text\" class=\"text\" /><br /><br
/>Password:<br /><input name=\"6\" value=\"\" type=\"password\"
class=\"password\" /><p></p><input name=\"7\" value=\"Login!\"
type=\"submit\" class=\"submit\" /><input name=\"_s\"
value=\"fRPJDoVKyziFKqIC\" type=\"hidden\" class=\"hidden\" /> <input
name=\"_k\" value=\"HdFZkVJf\" type=\"hidden\" class=\"hidden\" />
</form></div><div id=\"loginRightBox\"><p style=\"font-size: x-large;
text-align:center\">Welcome to My Web App</p><p style=\"padding-left:
6px; padding-right: 6px;\ttext-align: justify\">More to come.. Stay
tuned!</p><p style=\"padding-left: 6px; padding-right: 6px;\ttext-align:
justify;\"> If you have an account here, please login using the box just
to the left. Specify your username/password. Use
\\"demo/demo\\" as the username/password
combination</p></div></div><div style=\"padding-top: 10px\"><p
style=\"float:left\"><a href=\"http://jigsaw.w3.org/css-validator\"><img
alt=\"Valid CSS!\" style=\"border:0; width:88px;height:31px\"
src=\"/mywebapp/css/vcss.gif\" /></a></p><p style=\"float:right\"><a
href=\"http://validator.w3.org/check?uri=referer\"><img height=\"31\"
alt=\"Valid XHTML 1.0 Transitional\"
src=\"/mywebapp/css/valid-xhtml10.png\" width=\"88\"
/></a></p></div></div></div><"..., 3753) = 3753
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
gettimeofday({1143238253, 415773}, NULL) = 0
gettimeofday({1143238253, 415939}, NULL) = 0
close(9) = 0
rt_sigprocmask(SIG_SETMASK, [FPE PIPE ALRM TERM CHLD URG IO], NULL, 8) = 0
write(8, "10.0.1.198: seaside GET /seaside/go/mywebapp/css/screen.css ->
200 text/html Fri, 24 Mar 2006 22:10:53 GMT\n", 107) = 107
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
getitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={8, 582695}}) = 0
select(1024, [3 7], [], [3 7], {8, 592695} <unfinished ...>
More information about the Seaside
mailing list