index
gauche-kahua-docs
Constructing URLs:
- kahua-self-uri ... inside the same worker
accepts path list
If one needs the CGI query, it has to be part of the last argument (or
(s+ (kahua-self-uri ....) cgi-query)
.... so, i should have: (kahua-self-uri-cgi paths .... last) ?
- kahua-self-uri-full ... same, but specifies the Server too.
- (build-argstr pargs kargs)
This is helpful, I made it exported. It returns a string, which represents the CGI QUERY string + the final path segments.
kargs is converted to &a=1&.....
- It might be used with kahua-self-uri!
Redirecting:
(redirect-to (kahua-self-uri (s+ "edit-ticket-frame?ticket=" (x->string ticket-id))))
(redirect-to-login-and-url)
(redirect-to-login-and myhome)
login
a/cont
form/cont ?
Including stuff which makes self-links
page-in-languages uses: (s+ (kahua-meta-ref "SCRIPT_NAME") (kahua-meta-ref "PATH_INFO"))
therefore I changed kahua-fcg.scm to push "PATH_INFO"
How to use Entry-point*s