Tags:
create new tag
view all tags

SID-00007: TWiki as home page

Status: Answered 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title TWiki as home page
SupportCategory CategoryInstallation
TWiki version

Server OS Ubuntu
Web server Apache
Perl version

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2009-01-05 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.