--
MartinCleaver - 26 Nov 2001
Apache httpd
Here's what I did to get it working with Apache httpd:
- change $ENV('SERVER_NAME') to $ENV('HTTP_HOST') on line 7
- change "HTTP 1.1 302 Object Moved" to "Status: 302 Object Moved" on line 49
- mkdir /path/to/twiki/pub/redirect/
- move redirect.pl to /path/to/twiki/pub/redirect/index.cgi
- add something like this to httpd.conf:
<VirtualHost fooserver>
DocumentRoot /path/to/twiki/pub/redirect/
ServerName redir.twiki.foo.com
ServerAlias *.twiki.foo.com
</VirtualHost>
Thanks, Martin, this is helpful.
--
SteveMokris - 20 Jun 2003
Suggestions
--
SteveMokris - 20 Jun 2003
Thanks for your update Steve. I might install it again myself now!
As for specifying topic, yes I agree, do feel free to have a go.
I first started to write this reply thinking you had written:
To solve this problem would be neat as well. It would be best implemented by
ShorterURLs and a variant of
FindElsewherePlugin.
It would need to work with the existing
http://twiki.foo.com/bin/view/
garbage, but given a missing web (which would look like a web with no topic but, on examination, the web would be found to not exist), it find the web with that topic and redirect to it.
That will be useful because you could then say:
and have it resolve to:
Did you think that it would be nice to not have to redirect? I did. I thought that
http://codev.twiki.org/CoreTeam
looks a lot less messy than
http://twiki.org/bin/view/Codev/CoreTeam
But this is a
ShorterURLs issue.
--
MartinCleaver - 26 Jun 2003
checked
.zip into
CVS
--
WillNorris - 19 Jul 2005
I added a SHORTDESCRIPTION to the "Add-On Info" section so that this add-on is represented properly in the
AddOnPackage topic and query topics. Please feel free to take this into the next release.
--
PeterThoeny - 04 Nov 2006