Dossy wrote:
This might be useful for anyone not wanting to install cgi etc. and is a
nice alternative to running in local mode (where external links don't
work and the font is too small).
Ah, yes. Since the Wikit documentation already covers the many
non-AOLserver ways of running it, I didn't think it was really necessary
to repeat that stuff (like running Wikit with the built-in wikihttpd).
Try writing a handler that passes the request to a wikit running on
another port. For example:
proc ns_pass_request {localPrefix destPrefix} {
set url "$destPrefix[string range [ns_conn url] \
[string length $localPrefix] end]"
set data [ns_httpget $url]
ns_return 200 text/html $data
}
ns_register_proc GET /wikit ns_pass_request \
/wikit/ http://localhost:8765/
This is just a short example, a proper one would pass both GET and POST
correctly :-)
--
WK
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of
your email blank.