SID-00007: TWiki as home page
| Status: |
Answered |
TWiki version: |
|
Perl version: |
|
| Category: |
CategoryInstallation |
Server OS: |
Ubuntu |
Last update: |
17 years ago |
I have installed Twiki on a Ubuntu server using apt-get. I am also using Webmin as a gui interface to manage the server and its modules. I have run configure and there are no errors. I have now created a virtual host on my server and would like to make Twiki the home page but seem to be unable to do that. The path that brings up Twiki is
http://www.domainname.org/cgi-bin/twiki/view/
. However, when I enter that path in Apache as document directory or server route, it won't accept that path because it says there is no such directory. Any help would be appreciated.
--
ArthurDyck - 03 Jan 2009
Discussion and Answer
You need to distinguish between a URL path (
/cgi-bin/twiki/) and a file system path (
/var/twiki/bin). Also, you can't configure Apache to use the TWiki view script as the document root, but you can either add a rewrite rule or a redirect to point your document root to the TWiki home.
--
PeterThoeny - 03 Jan 2009
So I've added a document directory alias from /var/www/ to /cgi-bin/twiki/view/ but it doesn't seem to be making any difference. I'll keep trying different things in terms of redirects and aliases and see if I can get it going.
--
ArthurDyck - 03 Jan 2009
The easiest is to add a small
index.html page to
/var/www that has a redirect to your TWiki homepage. Example redirect in HTML header:
<meta http-equiv="refresh" content="0; url=/cgi-bin/twiki/view/Main/WebHome">
--
PeterThoeny - 04 Jan 2009
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.