On Wed, Jul 11, 2001, Naala Brewer wrote:
> Hi all,
>
> How does one go about changing the name of the swiki address from something
> like:
>
> http://129.237.99.138:8080
>
> to something more user-friendly like:
>
> http://www.ukans.edu/nsfgk12
I think a good thing to do is to write a small script running on some
webserver that will send a "301 permanently moved" along with the real
adress of the swiki.
This is what i've been using on my personnal swiki and works rather
well.
(in php)
<?
header("HTTP/1.0 301 Permanently moved");
header("Location: http://129.237.99.138:8080");
?>
put this script on http://www.ukans.edu/nsfgk12/index.html, and the
trick is done!
hth.
--
Pierre Baillet
"There is something to be learned from a rainstorm. When meeting with a
sudden shower, you try not to get wet and run quickly along the road.
But doing such things as passing under the eaves of houses, you still
get wet. When you are resolved from the beginning, you will not be
perplexed, though you still get the same soaking. This understanding
extends to everything."