Question
I've looked all over, and I can't for the life of me figure out how to make the Wiki default to my home page.
I have TWiki installed in the ROOT of my domain, smallgroups.biz. But I've got a kludge in place to get it to redirect to smallgroups.biz/bin/view.pl
Once people get there, then all will be well. (There's nothing there yet, this is a new install.)
I've been reading about url redirects, automatically launching a perl script (the view.pl script) when a page loads, but nothing elegantly works when someone visits www.smallgroup.biz.
So, to be clear about this, after the install, people who typed in www.smallgroup.biz got the html page that guides you to configuration, documents and all that. After I finished the install, I didn't see any way of having the index.htm or whatever bring up the TWiki home, which as far as I can tell, is invoked by the view.pl (in my case) command.
I'm lost.
Thanks in advance.
Robb
Environment
--
RobbLightfoot - 05 May 2008
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Adding the following line to your web server's config should do the trick:
RedirectMatch ^/*$ http://www.smallgroup.biz/bin/view.pl
I
know that it this can be found somewhere at twiki.org, but am too lazy to search right now. This is just what I have in my TWiki's
httpd.conf, and if I recall correctly it is what was recommended in said unfound page.
--
HaraldJoerg - 05 May 2008