Zitat von stéphane ducasse <ducasse(a)iam.unibe.ch>ch>:
Thanks david.
Have you look at the paper on seaside we wrote?
(
http://www.iam.unibe.ch/~scg/Archive/Papers/Duca04eSeaside.pdf)
looks very interesting. I showed it to some people to my company, but they won't
use seaside. bummer... (they are java people)
Else do you have a trick so that I do not have to
create environment
but just caroandBot
if you want to make it just with plain html and javascript: no. so I guess that
the smallwiki server would have to do this redirection in some way....
better might be to use apache in front of smallwiki. the apache server could
handle all redirections in an easy way. (and improve the caching, deny access
to smallwiki for certain ip-ranges, etc.)
and you could choose some virtual domain for the smallwiki instance @ kilana.
e.g. smallwiki.iam.unibe.ch would be much better than kilana:9090. so you won't
run into problems if the port number (or server name) changes for some reason.
(problems: all the people and search engines would still refer to the old
port/name for some time...)
have a good day!
cheers,
david
On 16 sept. 04, at 09:51, David Vogel wrote:
hi stef,
there is an easy way with javascript:
1) create a page with the url
http://kilana.unibe.ch:9090/caroandbot/environment
2) in the body (textarea field) add the follwing on one line (otherwise
smallwiki would add some html tags):
<script
type="text/javascript">document.location.href="http://kilana.unibe.ch:
9090/botinc/environment/";</script>
3) done.
remark: when you want to edit the page later, you will have to type
directly the
url of the page with the action parameter:
e.g.
http://kilana.unibe.ch:9090/caroandbot/environment/?action=PageEdit
...otherwise the page will redirect to the second one before you can
hit the
edit button.
another way would be to put apache in front of smallwiki and let it to
all the
redirection stuff (overkill at the moment).
hope this helps,
cheers,
david.
Zitat von stéphane ducasse <ducasse(a)iam.unibe.ch>ch>:
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.